mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
added style to info label
This commit is contained in:
parent
703368c5b0
commit
9acdf2e338
3 changed files with 12 additions and 1 deletions
|
|
@ -111,7 +111,9 @@
|
|||
"focus-border": "#839caf",
|
||||
"image-btn": "#bfccd6",
|
||||
"image-btn-hover": "#189aea",
|
||||
"image-btn-disabled": "#bfccd6"
|
||||
"image-btn-disabled": "#bfccd6",
|
||||
"version-exists": "#458056",
|
||||
"version-not-found": "#ffc671"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1158,6 +1158,14 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#OpenPypeVersionLabel[state="success"] {
|
||||
color: {color:settings:version-exists};
|
||||
}
|
||||
|
||||
#OpenPypeVersionLabel[state="warning"] {
|
||||
color: {color:settings:version-not-found};
|
||||
}
|
||||
|
||||
#ShadowWidget {
|
||||
font-size: 36pt;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -424,6 +424,7 @@ class OpenPypeVersionText(TextWidget):
|
|||
def create_ui(self):
|
||||
super(OpenPypeVersionText, self).create_ui()
|
||||
info_widget = QtWidgets.QLabel("Latest", self)
|
||||
info_widget.setObjectName("OpenPypeVersionLabel")
|
||||
self.content_layout.addWidget(info_widget, 1)
|
||||
|
||||
self._info_widget = info_widget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue