mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
If more space is available for icons show bigger
Also fix text size on tablet-ish form factor
This commit is contained in:
parent
38a3a7c99c
commit
035fcb3118
4 changed files with 5 additions and 5 deletions
|
|
@ -224,7 +224,7 @@ MouseEventListener {
|
||||||
flow: GridView.FlowTopToBottom
|
flow: GridView.FlowTopToBottom
|
||||||
|
|
||||||
cellWidth: root.width / 4
|
cellWidth: root.width / 4
|
||||||
cellHeight: units.iconSizes.huge
|
cellHeight: root.buttonHeight
|
||||||
|
|
||||||
model: plasmoid.nativeInterface.applicationListModel
|
model: plasmoid.nativeInterface.applicationListModel
|
||||||
delegate: HomeLauncher {
|
delegate: HomeLauncher {
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ Item {
|
||||||
maximumLineCount: 2
|
maximumLineCount: 2
|
||||||
|
|
||||||
text: modelData.ApplicationNameRole
|
text: modelData.ApplicationNameRole
|
||||||
font.pixelSize: theme.smallestFont.pixelSize
|
font.pixelSize: theme.defaultFont.pixelSize
|
||||||
color: PlasmaCore.ColorScope.textColor
|
color: PlasmaCore.ColorScope.textColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
width: parent.width / parent.columns
|
width: parent.width / parent.columns
|
||||||
height: units.iconSizes.huge
|
height: root.buttonHeight
|
||||||
property var callback
|
property var callback
|
||||||
property string text
|
property string text
|
||||||
property string sub
|
property string sub
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ Item {
|
||||||
//BEGIN properties
|
//BEGIN properties
|
||||||
property Item toolBox
|
property Item toolBox
|
||||||
property alias appletsSpace: applicationsView.headerItem
|
property alias appletsSpace: applicationsView.headerItem
|
||||||
property int buttonHeight: units.iconSizes.huge
|
property int buttonHeight: (Math.floor(height / units.iconSizes.huge) > 6) ? units.iconSizes.enormous : units.iconSizes.huge
|
||||||
property bool reorderingApps: false
|
property bool reorderingApps: false
|
||||||
property bool locked: applicationsView.contentY < -applicationsView.headerItem.height + plasmoid.availableScreenRect.height
|
property bool locked: applicationsView.contentY < -applicationsView.headerItem.height + plasmoid.availableScreenRect.height
|
||||||
property var layoutManager: LayoutManager
|
property var layoutManager: LayoutManager
|
||||||
|
|
@ -469,7 +469,7 @@ Item {
|
||||||
property var dragData
|
property var dragData
|
||||||
|
|
||||||
cellWidth: root.width / 4
|
cellWidth: root.width / 4
|
||||||
cellHeight: units.iconSizes.huge
|
cellHeight: root.buttonHeight
|
||||||
model: plasmoid.nativeInterface.applicationListModel
|
model: plasmoid.nativeInterface.applicationListModel
|
||||||
|
|
||||||
snapMode: GridView.SnapToRow
|
snapMode: GridView.SnapToRow
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue