Adjust/fix header, fields and buttons colors

This commit is contained in:
miruka
2019-07-24 16:21:34 -04:00
parent 29107ca7f2
commit 72eff47012
3 changed files with 12 additions and 11 deletions

View File

@@ -8,8 +8,8 @@ BusyIndicator {
contentItem: Item {
Rectangle {
id: rect
width: indicator.height
id: circle
width: height
height: indicator.height
radius: height / 2
@@ -27,7 +27,7 @@ BusyIndicator {
XAnimator on x {
from: 0
to: indicator.width - rect.width
to: indicator.width - circle.width
duration: colorAnimation.duration / 2
onStopped: {[from, to] = [to, from]; start()}
}

View File

@@ -50,10 +50,9 @@ HBaseButton {
font.pixelSize: fontSize
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
color: enabled ?
color: button.enabled ?
theme.controls.button.text :
theme.controls.button.disabledText
Behavior on color { HNumberAnimation {} }
Layout.fillWidth: true
}