Set a more prominent display of the url description label

This commit is contained in:
Miguel Jacq 2025-02-28 16:59:54 +11:00
parent fac12943b6
commit 52ab1a9bab
No known key found for this signature in database
GPG Key ID: 59B3F0C24135C6A9
2 changed files with 11 additions and 0 deletions

View File

@ -113,6 +113,16 @@ class GuiCommon:
return {
# OnionShareGui styles
"url_description": """
QLabel {
margin-top: 10px;
background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #eaccfc, stop:1 #d3a7f0);
color: #000000;
border: 1px solid #DDDBDA;
border-radius: 8px;
padding: 16px 8px;
}
""",
"tab_widget": """
QTabBar::tab { width: 170px; height: 30px; }
""",

View File

@ -81,6 +81,7 @@ class ServerStatus(QtWidgets.QWidget):
self.url_description = QtWidgets.QLabel()
self.url_description.setWordWrap(True)
self.url_description.setMinimumHeight(50)
self.url_description.setStyleSheet(self.common.gui.css["url_description"])
# URL sharing instructions, above the URL and Copy Address/QR Code buttons
self.url_instructions = QtWidgets.QLabel()