mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 03:37:28 -03:00
Updates content layout
This commit is contained in:
parent
8505bdcca1
commit
bd027dff0c
3 changed files with 9 additions and 3 deletions
|
@ -82,6 +82,7 @@ class AutoConnect(QtWidgets.QWidget):
|
|||
common.gui.css["autoconnect_start_button"]
|
||||
)
|
||||
self.configure_button = QtWidgets.QPushButton(strings._("gui_autoconnect_configure"))
|
||||
self.configure_button.setFlat(True)
|
||||
self.configure_button.setStyleSheet(
|
||||
common.gui.css["autoconnect_configure_button"]
|
||||
)
|
||||
|
@ -97,7 +98,6 @@ class AutoConnect(QtWidgets.QWidget):
|
|||
content_layout.addStretch()
|
||||
content_layout.addWidget(self.image)
|
||||
content_layout.addWidget(description_widget)
|
||||
content_layout.addStretch()
|
||||
content_layout.addWidget(cta_widget)
|
||||
content_layout.addStretch()
|
||||
content_layout.setAlignment(QtCore.Qt.AlignCenter)
|
||||
|
|
|
@ -151,17 +151,23 @@ class GuiCommon:
|
|||
QPushButton {
|
||||
background-color: #5fa416;
|
||||
color: #ffffff;
|
||||
padding: 10px 30px;
|
||||
padding: 10px;
|
||||
border: 0;
|
||||
border-radius: 5px;
|
||||
}""",
|
||||
"autoconnect_configure_button": """
|
||||
QPushButton {
|
||||
padding: 9px 29px;
|
||||
color: #3f7fcf;
|
||||
text-align: left;
|
||||
}""",
|
||||
"enable_autoconnect": """
|
||||
QCheckBox {
|
||||
margin-top: 30px;
|
||||
background: #FCFCFC;
|
||||
border: 1px solid #DDDBDA;
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
}""",
|
||||
# Common styles between modes and their child widgets
|
||||
"mode_settings_toggle_advanced": """
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
"gui_autoconnect_description": "OnionShare relies on the Tor Network, run by thousands of volunteers around the world.",
|
||||
"gui_enable_autoconnect_checkbox": "Enable automatically connecting to Tor",
|
||||
"gui_autoconnect_start": "Connect to Tor",
|
||||
"gui_autoconnect_configure": "Configure",
|
||||
"gui_autoconnect_configure": "Network Settings",
|
||||
"gui_settings_window_title": "Settings",
|
||||
"gui_settings_autoupdate_label": "Check for new version",
|
||||
"gui_settings_autoupdate_option": "Notify me when a new version is available",
|
||||
|
|
Loading…
Reference in a new issue