forked from Shinonome/dots-hyprland
toolbar: adjust spacing
This commit is contained in:
@@ -10,7 +10,7 @@ import qs.modules.common.widgets
|
|||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property real padding: 6
|
property real padding: 8
|
||||||
property alias colBackground: background.color
|
property alias colBackground: background.color
|
||||||
default property alias data: toolbarLayout.data
|
default property alias data: toolbarLayout.data
|
||||||
implicitWidth: background.implicitWidth
|
implicitWidth: background.implicitWidth
|
||||||
@@ -30,6 +30,7 @@ Item {
|
|||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: toolbarLayout
|
id: toolbarLayout
|
||||||
|
spacing: 4
|
||||||
anchors {
|
anchors {
|
||||||
fill: parent
|
fill: parent
|
||||||
margins: root.padding
|
margins: root.padding
|
||||||
|
|||||||
@@ -4,7 +4,5 @@ import qs.modules.common
|
|||||||
|
|
||||||
RippleButton {
|
RippleButton {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.topMargin: 2
|
|
||||||
Layout.bottomMargin: 2
|
|
||||||
buttonRadius: Appearance.rounding.full
|
buttonRadius: Appearance.rounding.full
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ TextField {
|
|||||||
property alias colBackground: background.color
|
property alias colBackground: background.color
|
||||||
|
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.topMargin: 2
|
|
||||||
Layout.bottomMargin: 2
|
|
||||||
implicitWidth: 200
|
implicitWidth: 200
|
||||||
padding: 10
|
padding: 10
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user