add groupPadding theme key, default 8px
This commit is contained in:
parent
852ba53092
commit
f4776cb307
3 changed files with 5 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ Item {
|
|||
implicitWidth: row.implicitWidth + _pad * 2
|
||||
implicitHeight: M.Theme.barHeight - 3 - _pad
|
||||
|
||||
readonly property int _pad: 6
|
||||
readonly property int _pad: M.Theme.groupPadding
|
||||
property bool _hovered: false
|
||||
|
||||
HoverHandler {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ QtObject {
|
|||
property int barPadding: 8
|
||||
property int moduleSpacing: 4
|
||||
property int groupSpacing: 6
|
||||
property int groupPadding: 8
|
||||
property int radius: 4
|
||||
property int screenRadius: 15
|
||||
property bool _reducedMotionConfig: false
|
||||
|
|
@ -73,6 +74,8 @@ QtObject {
|
|||
root.moduleSpacing = data.moduleSpacing;
|
||||
if (data.groupSpacing !== undefined)
|
||||
root.groupSpacing = data.groupSpacing;
|
||||
if (data.groupPadding !== undefined)
|
||||
root.groupPadding = data.groupPadding;
|
||||
if (data.radius !== undefined)
|
||||
root.radius = data.radius;
|
||||
if (data.screenRadius !== undefined)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue