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:
Klaus Basan
2019-03-19 19:03:21 +01:00
committed by Mat Sutcliffe
parent 22d67d31a4
commit e463689490
9 changed files with 44 additions and 17 deletions

View File

@@ -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;