Added some UI fixes
This commit is contained in:
@@ -4,9 +4,11 @@ import Utils 1.0
|
||||
|
||||
Rectangle {
|
||||
property bool enabled: false
|
||||
property bool neutral: true
|
||||
|
||||
implicitWidth: 18
|
||||
implicitHeight: 18
|
||||
radius: implicitWidth / 2
|
||||
color: enabled ? Palette.alternativeBackgroundColor : Palette.borderColor
|
||||
color: enabled ? Palette.goodColor :
|
||||
(neutral ? Palette.borderColor : Palette.invalidColor)
|
||||
}
|
||||
|
||||
@@ -15,6 +15,8 @@ TabButton {
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
elide: Text.ElideRight
|
||||
maximumLineCount: 2
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
|
||||
background: Item {
|
||||
|
||||
Reference in New Issue
Block a user