forked from Shinonome/dots-hyprland
make wbutton not have stupid inset by default
This commit is contained in:
@@ -58,7 +58,6 @@ Item {
|
||||
verticalCenter: parent.verticalCenter
|
||||
left: parent.left
|
||||
}
|
||||
inset: 0
|
||||
implicitHeight: 40
|
||||
implicitWidth: contentItem.implicitWidth + 30
|
||||
color: "transparent"
|
||||
|
||||
@@ -96,7 +96,6 @@ WChoiceButton {
|
||||
checked: !(root.wifiNetwork?.active ?? false)
|
||||
colBackgroundHover: Looks.colors.bg2Hover
|
||||
colBackgroundActive: Looks.colors.bg2Active
|
||||
inset: 0
|
||||
implicitHeight: 30
|
||||
implicitWidth: 148
|
||||
text: root.wifiNetwork?.active ? Translation.tr("Disconnect") : Translation.tr("Connect")
|
||||
|
||||
@@ -95,7 +95,6 @@ Item {
|
||||
verticalCenter: parent.verticalCenter
|
||||
left: parent.left
|
||||
}
|
||||
inset: 0
|
||||
implicitHeight: 40
|
||||
implicitWidth: contentItem.implicitWidth + 30
|
||||
color: "transparent"
|
||||
|
||||
@@ -40,6 +40,7 @@ BarPopup {
|
||||
WButton {
|
||||
id: btn
|
||||
Layout.fillWidth: true
|
||||
inset: 2
|
||||
|
||||
required property var modelData
|
||||
forceShowIcon: root.hasIcons
|
||||
|
||||
@@ -72,7 +72,7 @@ Button {
|
||||
property var altAction: () => {}
|
||||
property var middleClickAction: () => {}
|
||||
|
||||
property real inset: 2
|
||||
property real inset: 0
|
||||
topInset: inset
|
||||
bottomInset: inset
|
||||
leftInset: inset
|
||||
|
||||
@@ -17,7 +17,6 @@ WButton {
|
||||
implicitWidth: contentItem.implicitWidth
|
||||
horizontalPadding: 10
|
||||
verticalPadding: 11
|
||||
inset: 0
|
||||
buttonSpacing: 8
|
||||
|
||||
color: {
|
||||
|
||||
@@ -11,7 +11,6 @@ WButton {
|
||||
|
||||
property alias iconName: iconContent.icon
|
||||
property alias monochrome: iconContent.monochrome
|
||||
inset: 0
|
||||
implicitWidth: 40
|
||||
implicitHeight: 40
|
||||
|
||||
|
||||
Reference in New Issue
Block a user