better layout for the letters in dialpad

This commit is contained in:
Marco Martin 2015-04-28 12:34:00 +02:00
parent c9ee41f3ba
commit bdee5e84ab

View file

@ -94,6 +94,10 @@ PlasmaComponents.Label {
text = parent.text;
}
if (text.length > 1) {
return;
}
if (callback) {
callback(text);
} else if (pad.callback) {
@ -107,12 +111,13 @@ PlasmaComponents.Label {
anchors {
verticalCenter: parent.verticalCenter
right: parent.right
rightMargin: units.largeSpacing
}
height: parent.height * 0.6
width: parent.width / 3
height: parent.height * 0.4
width: parent.width / 4
verticalAlignment: Qt.AlignVCenter
visible: text.length > 0
opacity: 0.7
opacity: 0.6
font.pointSize: 1024
fontSizeMode: Text.Fit