Resize components in the connection tab

This commit is contained in:
Saptak S 2021-11-30 03:08:56 +05:30
parent 3283fb7607
commit c8224a2546
No known key found for this signature in database
GPG Key ID: 7B7F1772C0C6FCBF
2 changed files with 3 additions and 1 deletions

View File

@ -76,6 +76,7 @@ class AutoConnectTab(QtWidgets.QWidget):
self.enable_autoconnect_checkbox.setText(
strings._("gui_enable_autoconnect_checkbox")
)
self.enable_autoconnect_checkbox.setFixedWidth(400)
self.enable_autoconnect_checkbox.setStyleSheet(
common.gui.css["enable_autoconnect"]
)
@ -99,6 +100,7 @@ class AutoConnectTab(QtWidgets.QWidget):
# CTA buttons
self.connect_button = QtWidgets.QPushButton(strings._("gui_autoconnect_start"))
self.connect_button.clicked.connect(self.connect_clicked)
self.connect_button.setFixedWidth(150)
self.connect_button.setStyleSheet(
common.gui.css["autoconnect_start_button"]
)

View File

@ -169,7 +169,7 @@ class GuiCommon:
background: #FCFCFC;
border: 1px solid #DDDBDA;
border-radius: 8px;
padding: 16px;
padding: 24px 16px;
}""",
# Common styles between modes and their child widgets
"mode_settings_toggle_advanced": """