mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +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
|
||||
|
||||
cellWidth: root.width / 4
|
||||
cellHeight: units.iconSizes.huge
|
||||
cellHeight: root.buttonHeight
|
||||
|
||||
model: plasmoid.nativeInterface.applicationListModel
|
||||
delegate: HomeLauncher {
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ Item {
|
|||
maximumLineCount: 2
|
||||
|
||||
text: modelData.ApplicationNameRole
|
||||
font.pixelSize: theme.smallestFont.pixelSize
|
||||
font.pixelSize: theme.defaultFont.pixelSize
|
||||
color: PlasmaCore.ColorScope.textColor
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import org.kde.plasma.core 2.0 as PlasmaCore
|
|||
Item {
|
||||
id: root
|
||||
width: parent.width / parent.columns
|
||||
height: units.iconSizes.huge
|
||||
height: root.buttonHeight
|
||||
property var callback
|
||||
property string text
|
||||
property string sub
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ Item {
|
|||
//BEGIN properties
|
||||
property Item toolBox
|
||||
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 locked: applicationsView.contentY < -applicationsView.headerItem.height + plasmoid.availableScreenRect.height
|
||||
property var layoutManager: LayoutManager
|
||||
|
|
@ -469,7 +469,7 @@ Item {
|
|||
property var dragData
|
||||
|
||||
cellWidth: root.width / 4
|
||||
cellHeight: units.iconSizes.huge
|
||||
cellHeight: root.buttonHeight
|
||||
model: plasmoid.nativeInterface.applicationListModel
|
||||
|
||||
snapMode: GridView.SnapToRow
|
||||
|
|
|
|||
Loading…
Reference in a new issue