mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +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 {
|
||||
id: icon
|
||||
anchors {
|
||||
top: root.top
|
||||
horizontalCenter: root.horizontalCenter
|
||||
}
|
||||
anchors.centerIn: parent
|
||||
width: units.iconSizes.large
|
||||
height: width
|
||||
source: iconName
|
||||
|
|
@ -25,14 +22,14 @@ MouseArea {
|
|||
|
||||
anchors {
|
||||
top: icon.bottom
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
left: icon.left
|
||||
right: icon.right
|
||||
}
|
||||
|
||||
wrapMode: Text.WordWrap
|
||||
horizontalAlignment: Qt.AlignHCenter
|
||||
verticalAlignment: Qt.AlignVCenter
|
||||
|
||||
font.pixelSize: theme.smallestFont.pointSize
|
||||
text: name
|
||||
color: "white"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue