Commit 035fcb31 authored by Bhushan Shah's avatar Bhushan Shah 📱

If more space is available for icons show bigger

Also fix text size on tablet-ish form factor
parent 38a3a7c9
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment