summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-02-05 21:05:24 +0100
committerPapoteur <papoteur@mageia.org>2019-02-05 21:05:24 +0100
commitb7ceff2589a703b4f8e0fd524cbd2176418f6a59 (patch)
treee245f88e204e53efe2708c89c2934e7ca3d73992 /qml
parentded803fcfa2f09716ee32fd215dcaac4466c8158 (diff)
downloadmageiawelcome-b7ceff2589a703b4f8e0fd524cbd2176418f6a59.tar
mageiawelcome-b7ceff2589a703b4f8e0fd524cbd2176418f6a59.tar.gz
mageiawelcome-b7ceff2589a703b4f8e0fd524cbd2176418f6a59.tar.bz2
mageiawelcome-b7ceff2589a703b4f8e0fd524cbd2176418f6a59.tar.xz
mageiawelcome-b7ceff2589a703b4f8e0fd524cbd2176418f6a59.zip
Buttons: center text vertically
Diffstat (limited to 'qml')
-rw-r--r--qml/mw-ui.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml
index 30545c8..c47d94f 100644
--- a/qml/mw-ui.qml
+++ b/qml/mw-ui.qml
@@ -959,11 +959,12 @@ This is a background process and you will be able to use your computer normally
color: view.currentIndex == index ? "#2397D4" : "white"
}
label: Label{
- anchors.verticalCenter: parent.verticalCenter
+ //anchors.verticalCenter: parent.verticalCenter
text: itemModel.get(index).title
- font.pointSize: 8
+ font.pointSize: 9
color: view.currentIndex == index ? "white" : "#262F45"
horizontalAlignment: Text.AlignHCenter
+ verticalAlignment: Text.AlignVCenter
wrapMode : Text.WordWrap
}
}