diff options
author | Papoteur <papoteur@mageia.org> | 2019-02-05 21:05:24 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2019-02-05 21:05:24 +0100 |
commit | b7ceff2589a703b4f8e0fd524cbd2176418f6a59 (patch) | |
tree | e245f88e204e53efe2708c89c2934e7ca3d73992 | |
parent | ded803fcfa2f09716ee32fd215dcaac4466c8158 (diff) | |
download | mageiawelcome-b7ceff2589a703b4f8e0fd524cbd2176418f6a59.tar mageiawelcome-b7ceff2589a703b4f8e0fd524cbd2176418f6a59.tar.gz mageiawelcome-b7ceff2589a703b4f8e0fd524cbd2176418f6a59.tar.bz2 mageiawelcome-b7ceff2589a703b4f8e0fd524cbd2176418f6a59.tar.xz mageiawelcome-b7ceff2589a703b4f8e0fd524cbd2176418f6a59.zip |
Buttons: center text vertically
-rw-r--r-- | qml/mw-ui.qml | 5 |
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 } } |