Fix reference errors caused by moving properties around

This makes things like accent(Text)Color and our two custom point sizes
for fonts resolve correctly again.

Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
Sebastian Kügler 2015-11-29 19:21:27 +01:00
parent 8fad349c82
commit 6580f078d0
6 changed files with 11 additions and 11 deletions

View file

@ -13,7 +13,7 @@ Rectangle {
property bool goBack: (stackView.depth > 1)
color: MobileComponents.Theme.accentColor
color: subsurfaceTheme.accentColor
Layout.minimumHeight: MobileComponents.Units.gridUnit * 2 + MobileComponents.Units.largeSpacing
Layout.fillWidth: true
Layout.margins: 0
@ -47,7 +47,7 @@ Rectangle {
font.pointSize: MobileComponents.Units.fontMetrics.font.pointSize * 1.5
verticalAlignment: Text.AlignBottom
Layout.fillWidth: false
color: MobileComponents.Theme.accentTextColor
color: subsurfaceTheme.accentTextColor
}
}
Item {
@ -63,11 +63,11 @@ Rectangle {
style: ButtonStyle {
background: Rectangle {
implicitWidth: MobileComponents.Units.gridUnit * 2
color: MobileComponents.Theme.accentColor
color: subsurfaceTheme.accentColor
}
label: Text {
id: txt
color: MobileComponents.Theme.accentTextColor
color: subsurfaceTheme.accentTextColor
font.pointSize: MobileComponents.Units.fontMetrics.font.pointSize * 2
font.bold: true
text: control.text