mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
slightly smaller icons
This commit is contained in:
parent
f78f4e73f9
commit
f3e1ba0abe
4 changed files with 6 additions and 6 deletions
|
|
@ -20,7 +20,7 @@ Item {
|
|||
centerIn: parent
|
||||
verticalCenterOffset: -theme.mSize(theme.defaultFont).height
|
||||
}
|
||||
width: parent.height / 2
|
||||
width: parent.height - label.height
|
||||
height: width
|
||||
source: modelData.ApplicationIconRole
|
||||
scale: root.reorderingApps && applicationsView.dragData && applicationsView.dragData.ApplicationStorageIdRole != modelData.ApplicationStorageIdRole ? 0.6 : 1
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ PlasmaCore.ColorScope {
|
|||
}
|
||||
|
||||
//cut away one line from the favorites bar
|
||||
height: applicationsView.cellHeight - units.gridUnit
|
||||
height: applicationsView.cellHeight - units.gridUnit/2
|
||||
width: parent.width
|
||||
y: parent.height / 2 - height / 2
|
||||
x: 0
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ Item {
|
|||
//BEGIN properties
|
||||
property Item toolBox
|
||||
property alias appletsSpace: applicationsView.headerItem
|
||||
property int buttonHeight: (Math.floor(height / units.iconSizes.huge) > 6) ? units.iconSizes.enormous : units.iconSizes.huge
|
||||
property int buttonHeight: units.iconSizes.large + units.gridUnit * 2
|
||||
property bool reorderingApps: false
|
||||
property var layoutManager: LayoutManager
|
||||
//END properties
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@ battery.writeConfig("showPercentage", true);
|
|||
battery.reloadConfig();
|
||||
panel.addWidget("org.kde.plasma.volume");
|
||||
panel.addWidget("org.kde.phone.activities");
|
||||
panel.height = 60;
|
||||
panel.height = 1 * gridUnit;
|
||||
|
||||
var bottomPanel = new Panel("org.kde.phone.taskpanel");
|
||||
bottomPanel.location = "bottom";
|
||||
|
||||
if (screenGeometry(bottomPanel.screen).height > screenGeometry(bottomPanel.screen).width)
|
||||
bottomPanel.height = 150;
|
||||
bottomPanel.height = 2 * gridUnit;
|
||||
else
|
||||
bottomPanel.height = 60;
|
||||
bottomPanel.height = 1 * gridUnit;
|
||||
|
|
|
|||
Loading…
Reference in a new issue