diff --git a/src/forms/SettingsDialog.cpp b/src/forms/SettingsDialog.cpp index 32c55d7d..e4594c5b 100644 --- a/src/forms/SettingsDialog.cpp +++ b/src/forms/SettingsDialog.cpp @@ -68,7 +68,7 @@ void SettingsDialog::FillSessionTable() QPushButton *invalidateButton = new QPushButton("Kick", this); QWidget *invalidateButtonWidget = new QWidget(); - QHBoxLayout *invalidateButtonLayout = new QHBoxLayout(this); + QHBoxLayout *invalidateButtonLayout = new QHBoxLayout(invalidateButtonWidget); invalidateButtonLayout->addWidget(invalidateButton); invalidateButtonLayout->setAlignment(Qt::AlignCenter); invalidateButtonLayout->setContentsMargins(0, 0, 0, 0); diff --git a/src/forms/SettingsDialog.ui b/src/forms/SettingsDialog.ui index 5b8eb282..f33ef9f6 100644 --- a/src/forms/SettingsDialog.ui +++ b/src/forms/SettingsDialog.ui @@ -6,190 +6,186 @@ 0 0 - 601 - 419 + 600 + 437 + + + 600 + 437 + + + + + 600 + 16777215 + + OBSWebSocket.Settings.DialogTitle - - - - 250 - 380 - 341 - 32 - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - 9 - 9 - 581 - 191 - - - - - - - OBSWebSocket.Settings.ServerEnable - - - - - - - true - - - - - - - OBSWebSocket.Settings.AlertsEnable - - - - - - - - - - OBSWebSocket.Settings.DebugEnable - - - - - - - - - - OBSWebSocket.Settings.AuthRequired - - - - - - - - - - OBSWebSocket.Settings.Password - - - - - - - QLineEdit::PasswordEchoOnEdit - - - - - - - OBSWebSocket.Settings.CopyPassword - - - - - - - OBSWebSocket.Settings.ServerPort - - - - - - - 1 - - - 65534 - - - 4444 - - - - - - - - - 10 - 210 - 581 - 161 - - - - OBSWebSocket.Settings.ConnectedSessionsTitle - - - - - 10 - 30 - 561 - 121 - - - - QAbstractItemView::NoEditTriggers - - - false - - - false - - - 135 - - - 135 - - - false - - - 21 - - - - Remote Address + + + + + Qt::Horizontal - - - - Duration + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - In/Out + + + + + + + + OBSWebSocket.Settings.ServerEnable + + + + + + + true + + + + + + + OBSWebSocket.Settings.AlertsEnable + + + + + + + + + + OBSWebSocket.Settings.DebugEnable + + + + + + + + + + OBSWebSocket.Settings.AuthRequired + + + + + + + + + + OBSWebSocket.Settings.Password + + + + + + + QLineEdit::PasswordEchoOnEdit + + + + + + + OBSWebSocket.Settings.CopyPassword + + + + + + + OBSWebSocket.Settings.ServerPort + + + + + + + 1 + + + 65534 + + + 4444 + + + + + + + + + + 0 + 200 + - - - - Kick? + + OBSWebSocket.Settings.ConnectedSessionsTitle - - - + + + + + QAbstractItemView::NoEditTriggers + + + false + + + false + + + 135 + + + 135 + + + false + + + 21 + + + + Remote Address + + + + + Duration + + + + + In/Out + + + + + Kick? + + + + + + + +