mirror of
https://github.com/onionshare/onionshare.git
synced 2025-04-29 14:19:30 -04:00
Set a more prominent display of the url description label
This commit is contained in:
parent
fac12943b6
commit
52ab1a9bab
2 changed files with 11 additions and 0 deletions
|
@ -113,6 +113,16 @@ class GuiCommon:
|
||||||
|
|
||||||
return {
|
return {
|
||||||
# OnionShareGui styles
|
# 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": """
|
"tab_widget": """
|
||||||
QTabBar::tab { width: 170px; height: 30px; }
|
QTabBar::tab { width: 170px; height: 30px; }
|
||||||
""",
|
""",
|
||||||
|
|
|
@ -81,6 +81,7 @@ class ServerStatus(QtWidgets.QWidget):
|
||||||
self.url_description = QtWidgets.QLabel()
|
self.url_description = QtWidgets.QLabel()
|
||||||
self.url_description.setWordWrap(True)
|
self.url_description.setWordWrap(True)
|
||||||
self.url_description.setMinimumHeight(50)
|
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
|
# URL sharing instructions, above the URL and Copy Address/QR Code buttons
|
||||||
self.url_instructions = QtWidgets.QLabel()
|
self.url_instructions = QtWidgets.QLabel()
|
||||||
|
|
Loading…
Add table
Reference in a new issue