If more space is available for icons show bigger

Also fix text size on tablet-ish form factor
This commit is contained in:
Bhushan Shah 2015-09-01 17:35:01 +05:30
parent 38a3a7c99c
commit 035fcb3118
4 changed files with 5 additions and 5 deletions

View file

@ -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 {

View file

@ -48,7 +48,7 @@ Item {
maximumLineCount: 2
text: modelData.ApplicationNameRole
font.pixelSize: theme.smallestFont.pixelSize
font.pixelSize: theme.defaultFont.pixelSize
color: PlasmaCore.ColorScope.textColor
}
}

View file

@ -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

View file

@ -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