Compare commits
No commits in common. "6eff8710fd50252fd67c6eb8642cf84be3b5a9aa" and "fc36e460910a8ba8a6ec83358b10121c3e7b0ff2" have entirely different histories.
6eff8710fd
...
fc36e46091
3 changed files with 5 additions and 3 deletions
|
|
@ -135,7 +135,7 @@ Full list of theme keys and their defaults:
|
|||
| `barHeight` | `32` | Bar height (px) |
|
||||
| `barOpacity` | `0.9` | Bar and flyout background opacity |
|
||||
| `barPadding` | `8` | Left/right bar content margin (px) |
|
||||
| `groupSpacing` | `6` | Gap between groups and gradient border (px) |
|
||||
| `barSpacing` | `12` | Gap between modules (px) |
|
||||
| `moduleSpacing` | `4` | Icon-to-label gap within a module (px) |
|
||||
| `radius` | `4` | Corner radius for flyouts and menus (px) |
|
||||
| `screenRadius` | `15` | Screen corner rounding, 0 to disable (px) |
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ QtObject {
|
|||
property real barOpacity: 0.9
|
||||
property int barHeight: 32
|
||||
property int barPadding: 8
|
||||
property int barSpacing: 12
|
||||
property int moduleSpacing: 4
|
||||
property int groupSpacing: 6
|
||||
property int radius: 4
|
||||
|
|
@ -67,6 +68,8 @@ QtObject {
|
|||
root.barHeight = data.barHeight;
|
||||
if (data.barPadding !== undefined)
|
||||
root.barPadding = data.barPadding;
|
||||
if (data.barSpacing !== undefined)
|
||||
root.barSpacing = data.barSpacing;
|
||||
if (data.moduleSpacing !== undefined)
|
||||
root.moduleSpacing = data.moduleSpacing;
|
||||
if (data.groupSpacing !== undefined)
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ M.PopupPanel {
|
|||
radius: M.Theme.radius
|
||||
}
|
||||
|
||||
M.ThemedIcon {
|
||||
Image {
|
||||
id: entryIcon
|
||||
visible: !entryItem.modelData.isSeparator && entryItem.modelData.icon !== ""
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
|
@ -90,7 +90,6 @@ M.PopupPanel {
|
|||
width: M.Theme.fontSize
|
||||
height: M.Theme.fontSize
|
||||
source: entryItem.modelData.icon
|
||||
tint: menuWindow.accentColor
|
||||
fillMode: Image.PreserveAspectFit
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue