themed tray menu icons, remove barSpacing
This commit is contained in:
parent
3c58464074
commit
6eff8710fd
2 changed files with 2 additions and 4 deletions
|
|
@ -31,7 +31,6 @@ QtObject {
|
||||||
property real barOpacity: 0.9
|
property real barOpacity: 0.9
|
||||||
property int barHeight: 32
|
property int barHeight: 32
|
||||||
property int barPadding: 8
|
property int barPadding: 8
|
||||||
property int barSpacing: 12
|
|
||||||
property int moduleSpacing: 4
|
property int moduleSpacing: 4
|
||||||
property int groupSpacing: 6
|
property int groupSpacing: 6
|
||||||
property int radius: 4
|
property int radius: 4
|
||||||
|
|
@ -68,8 +67,6 @@ QtObject {
|
||||||
root.barHeight = data.barHeight;
|
root.barHeight = data.barHeight;
|
||||||
if (data.barPadding !== undefined)
|
if (data.barPadding !== undefined)
|
||||||
root.barPadding = data.barPadding;
|
root.barPadding = data.barPadding;
|
||||||
if (data.barSpacing !== undefined)
|
|
||||||
root.barSpacing = data.barSpacing;
|
|
||||||
if (data.moduleSpacing !== undefined)
|
if (data.moduleSpacing !== undefined)
|
||||||
root.moduleSpacing = data.moduleSpacing;
|
root.moduleSpacing = data.moduleSpacing;
|
||||||
if (data.groupSpacing !== undefined)
|
if (data.groupSpacing !== undefined)
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ M.PopupPanel {
|
||||||
radius: M.Theme.radius
|
radius: M.Theme.radius
|
||||||
}
|
}
|
||||||
|
|
||||||
Image {
|
M.ThemedIcon {
|
||||||
id: entryIcon
|
id: entryIcon
|
||||||
visible: !entryItem.modelData.isSeparator && entryItem.modelData.icon !== ""
|
visible: !entryItem.modelData.isSeparator && entryItem.modelData.icon !== ""
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
@ -90,6 +90,7 @@ M.PopupPanel {
|
||||||
width: M.Theme.fontSize
|
width: M.Theme.fontSize
|
||||||
height: M.Theme.fontSize
|
height: M.Theme.fontSize
|
||||||
source: entryItem.modelData.icon
|
source: entryItem.modelData.icon
|
||||||
|
tint: menuWindow.accentColor
|
||||||
fillMode: Image.PreserveAspectFit
|
fillMode: Image.PreserveAspectFit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue