mirror of
https://github.com/onionshare/onionshare.git
synced 2025-04-21 07:56:32 -04:00
Set a more prominent display of the url description label
This commit is contained in:
parent
fac12943b6
commit
52ab1a9bab
@ -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; }
|
||||
""",
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user