mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-24 14:59:42 -05:00
Resize components in the connection tab
This commit is contained in:
parent
3283fb7607
commit
c8224a2546
@ -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"]
|
||||
)
|
||||
|
@ -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": """
|
||||
|
Loading…
Reference in New Issue
Block a user