Improve window active color

pull/28/head
reionwong 4 years ago
parent 42859d377a
commit 20a0f88f69

@ -51,7 +51,7 @@ ItemPage {
id: battery
Component.onCompleted: {
battery.refresh()
// battery.refresh()
batteryBackground.value = battery.chargePercent
}
}

@ -42,6 +42,7 @@ Page {
bottomPadding: 0
font.pointSize: 12
text: page.headerTitle
color: rootWindow.active ? FishUI.Theme.textColor : FishUI.Theme.disabledTextColor
}
}
}

@ -228,6 +228,7 @@ Item {
Label {
text: rootWindow.title
color: rootWindow.active ? FishUI.Theme.textColor : FishUI.Theme.disabledTextColor
Layout.preferredHeight: rootWindow.header.height
leftPadding: FishUI.Units.largeSpacing + FishUI.Units.smallSpacing
rightPadding: FishUI.Units.largeSpacing + FishUI.Units.smallSpacing

Loading…
Cancel
Save