Spacing moves from theme to units

This commit is contained in:
Sebastian Kügler 2014-01-23 01:30:28 +01:00
parent 4da01ebce0
commit f6e495c76c

View File

@ -33,12 +33,12 @@ Item {
id: themePage id: themePage
anchors { anchors {
margins: theme.largeSpacing margins: units.largeSpacing
} }
Column { Column {
//anchors.fill: parent //anchors.fill: parent
//spacing: theme.smallSpacing/2 //spacing: units.smallSpacing/2
PlasmaExtras.Title { PlasmaExtras.Title {
width: parent.width width: parent.width
@ -99,24 +99,24 @@ Item {
Row { Row {
PlasmaComponents.Label { PlasmaComponents.Label {
text: "theme.largeSpacing: " text: "units.largeSpacing: "
width: cwidth width: cwidth
} }
PlasmaComponents.Label { PlasmaComponents.Label {
width: cheight width: cheight
height: cheight / 2 height: cheight / 2
text: theme.largeSpacing text: units.largeSpacing
} }
} }
Row { Row {
PlasmaComponents.Label { PlasmaComponents.Label {
text: "theme.smallSpacing: " text: "units.smallSpacing: "
width: cwidth width: cwidth
} }
PlasmaComponents.Label { PlasmaComponents.Label {
width: cheight width: cheight
height: cheight / 2 height: cheight / 2
text: theme.smallSpacing text: units.smallSpacing
} }
} }