mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
fix size of png icons
This commit is contained in:
parent
8df8e2c1ed
commit
2bb09ae917
1 changed files with 2 additions and 1 deletions
|
|
@ -111,6 +111,7 @@ ContainmentLayoutManager.ItemContainer {
|
||||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.minimumHeight: parent.height - root.reservedSpaceForLabel
|
Layout.minimumHeight: parent.height - root.reservedSpaceForLabel
|
||||||
|
Layout.preferredHeight: Layout.minimumHeight
|
||||||
|
|
||||||
source: modelData ? modelData.ApplicationIconRole : ""
|
source: modelData ? modelData.ApplicationIconRole : ""
|
||||||
scale: root.reorderingApps && dragDelegate && !dragging ? 0.6 : 1
|
scale: root.reorderingApps && dragDelegate && !dragging ? 0.6 : 1
|
||||||
|
|
@ -127,7 +128,7 @@ ContainmentLayoutManager.ItemContainer {
|
||||||
visible: text.length > 0
|
visible: text.length > 0
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.preferredHeight: root.reservedSpaceForLabel
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignTop
|
verticalAlignment: Text.AlignTop
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue