mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 17:54:45 +00:00
small layout fixes
This commit is contained in:
parent
2b09246010
commit
4239cf0fae
1 changed files with 4 additions and 7 deletions
|
|
@ -11,10 +11,7 @@ MouseArea {
|
||||||
|
|
||||||
PlasmaCore.IconItem {
|
PlasmaCore.IconItem {
|
||||||
id: icon
|
id: icon
|
||||||
anchors {
|
anchors.centerIn: parent
|
||||||
top: root.top
|
|
||||||
horizontalCenter: root.horizontalCenter
|
|
||||||
}
|
|
||||||
width: units.iconSizes.large
|
width: units.iconSizes.large
|
||||||
height: width
|
height: width
|
||||||
source: iconName
|
source: iconName
|
||||||
|
|
@ -25,14 +22,14 @@ MouseArea {
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
top: icon.bottom
|
top: icon.bottom
|
||||||
left: parent.left
|
left: icon.left
|
||||||
right: parent.right
|
right: icon.right
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wrapMode: Text.WordWrap
|
||||||
horizontalAlignment: Qt.AlignHCenter
|
horizontalAlignment: Qt.AlignHCenter
|
||||||
verticalAlignment: Qt.AlignVCenter
|
verticalAlignment: Qt.AlignVCenter
|
||||||
|
|
||||||
font.pixelSize: theme.smallestFont.pointSize
|
|
||||||
text: name
|
text: name
|
||||||
color: "white"
|
color: "white"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue