Merge PR #990: Allow styling of tabbar icon color
This commit is contained in:
commit
6496d6005a
@ -4,6 +4,7 @@ Item {
|
||||
property color backgroundColor: "#fafafa"
|
||||
property color foregroundColor: "#202020"
|
||||
property color unobtrusiveForegroundColor: Qt.tint(foregroundColor, Qt.rgba(backgroundColor.r, backgroundColor.g, backgroundColor.b, 0.4))
|
||||
property color navBarForegroundColor: foregroundColor
|
||||
|
||||
property color accentColor: "#57baae"
|
||||
property color iconColor: "#808080"
|
||||
|
||||
@ -54,13 +54,13 @@ TabButton {
|
||||
width: Style.iconSize
|
||||
height: Style.iconSize
|
||||
name: root.iconSource
|
||||
color: Style.foregroundColor
|
||||
color: Style.navBarForegroundColor
|
||||
}
|
||||
Label {
|
||||
id: textLabel
|
||||
text: root.text
|
||||
font.pixelSize: app.smallFont
|
||||
color: Style.foregroundColor
|
||||
color: Style.navBarForegroundColor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user