Tighten center bar widget spacing
This commit is contained in:
@@ -55,7 +55,7 @@ BarWidget {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
bar: root.bar
|
bar: root.bar
|
||||||
text: root.formatted(root.displayDate)
|
text: root.formatted(root.displayDate)
|
||||||
horizontalMargin: 8.75
|
horizontalMargin: 2
|
||||||
verticalPadding: 8.75
|
verticalPadding: 8.75
|
||||||
onPressed: function(button) {
|
onPressed: function(button) {
|
||||||
if (!root.bar) return
|
if (!root.bar) return
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ BarWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
visible: panelLoader.item && panelLoader.item.label !== ""
|
visible: panelLoader.item && panelLoader.item.label !== ""
|
||||||
implicitWidth: bar && bar.vertical ? button.implicitWidth : button.implicitWidth + Style.spacing.controlGap
|
implicitWidth: bar && bar.vertical ? button.implicitWidth : button.implicitWidth + Style.spacing.labelGap
|
||||||
implicitHeight: button.implicitHeight
|
implicitHeight: button.implicitHeight
|
||||||
|
|
||||||
onBarChanged: injectPanel()
|
onBarChanged: injectPanel()
|
||||||
|
|||||||
Reference in New Issue
Block a user