mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Ref T573, allow different color in XPDR mode component from stylesheet
* changed signal to trigger reload of stylesheet (only way to update dynamic properties) * made infobar left aligned (and not spacer aligned), better scaling * adjusted qss
This commit is contained in:
committed by
Mat Sutcliffe
parent
22d67d31a4
commit
e463689490
@@ -18,6 +18,21 @@ BlackGui--Components--CTransponderModeComponent {
|
||||
min-height: 2em;
|
||||
}
|
||||
|
||||
QToolButton[xpdrmodeshort="I"] {
|
||||
background-color: yellow;
|
||||
color: black;
|
||||
}
|
||||
|
||||
QToolButton[xpdrmodeshort="C"] {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
|
||||
QToolButton[xpdrmodeshort="S"] {
|
||||
background-color: blue;
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
BlackGui--Components--CInfoBarStatusComponent {
|
||||
padding-left: 1.0em;
|
||||
padding-right: 1.0em;
|
||||
|
||||
Reference in New Issue
Block a user