mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 22:33:08 +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
|
centerIn: parent
|
||||||
verticalCenterOffset: -theme.mSize(theme.defaultFont).height
|
verticalCenterOffset: -theme.mSize(theme.defaultFont).height
|
||||||
}
|
}
|
||||||
width: parent.height / 2
|
width: parent.height - label.height
|
||||||
height: width
|
height: width
|
||||||
source: modelData.ApplicationIconRole
|
source: modelData.ApplicationIconRole
|
||||||
scale: root.reorderingApps && applicationsView.dragData && applicationsView.dragData.ApplicationStorageIdRole != modelData.ApplicationStorageIdRole ? 0.6 : 1
|
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
|
//cut away one line from the favorites bar
|
||||||
height: applicationsView.cellHeight - units.gridUnit
|
height: applicationsView.cellHeight - units.gridUnit/2
|
||||||
width: parent.width
|
width: parent.width
|
||||||
y: parent.height / 2 - height / 2
|
y: parent.height / 2 - height / 2
|
||||||
x: 0
|
x: 0
|
||||||
|
|
|
||||||
|
|
@ -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: (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 bool reorderingApps: false
|
||||||
property var layoutManager: LayoutManager
|
property var layoutManager: LayoutManager
|
||||||
//END properties
|
//END properties
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,12 @@ battery.writeConfig("showPercentage", true);
|
||||||
battery.reloadConfig();
|
battery.reloadConfig();
|
||||||
panel.addWidget("org.kde.plasma.volume");
|
panel.addWidget("org.kde.plasma.volume");
|
||||||
panel.addWidget("org.kde.phone.activities");
|
panel.addWidget("org.kde.phone.activities");
|
||||||
panel.height = 60;
|
panel.height = 1 * gridUnit;
|
||||||
|
|
||||||
var bottomPanel = new Panel("org.kde.phone.taskpanel");
|
var bottomPanel = new Panel("org.kde.phone.taskpanel");
|
||||||
bottomPanel.location = "bottom";
|
bottomPanel.location = "bottom";
|
||||||
|
|
||||||
if (screenGeometry(bottomPanel.screen).height > screenGeometry(bottomPanel.screen).width)
|
if (screenGeometry(bottomPanel.screen).height > screenGeometry(bottomPanel.screen).width)
|
||||||
bottomPanel.height = 150;
|
bottomPanel.height = 2 * gridUnit;
|
||||||
else
|
else
|
||||||
bottomPanel.height = 60;
|
bottomPanel.height = 1 * gridUnit;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue