From 7b2cfb11f6a6957f332050b968b14ca3c9c39acf Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 22 Nov 2025 16:36:41 +0100 Subject: [PATCH] make wbutton not have stupid inset by default --- .../modules/waffle/actionCenter/volumeControl/VolumeControl.qml | 1 - .../ii/modules/waffle/actionCenter/wifi/WWifiNetworkItem.qml | 1 - .../ii/modules/waffle/actionCenter/wifi/WifiControl.qml | 1 - dots/.config/quickshell/ii/modules/waffle/bar/BarMenu.qml | 1 + dots/.config/quickshell/ii/modules/waffle/looks/WButton.qml | 2 +- .../quickshell/ii/modules/waffle/looks/WChoiceButton.qml | 1 - .../quickshell/ii/modules/waffle/looks/WPanelIconButton.qml | 1 - 7 files changed, 2 insertions(+), 6 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/waffle/actionCenter/volumeControl/VolumeControl.qml b/dots/.config/quickshell/ii/modules/waffle/actionCenter/volumeControl/VolumeControl.qml index fc6979d9b..23cab4cf5 100644 --- a/dots/.config/quickshell/ii/modules/waffle/actionCenter/volumeControl/VolumeControl.qml +++ b/dots/.config/quickshell/ii/modules/waffle/actionCenter/volumeControl/VolumeControl.qml @@ -58,7 +58,6 @@ Item { verticalCenter: parent.verticalCenter left: parent.left } - inset: 0 implicitHeight: 40 implicitWidth: contentItem.implicitWidth + 30 color: "transparent" diff --git a/dots/.config/quickshell/ii/modules/waffle/actionCenter/wifi/WWifiNetworkItem.qml b/dots/.config/quickshell/ii/modules/waffle/actionCenter/wifi/WWifiNetworkItem.qml index 0c1b93c8c..8716449a8 100644 --- a/dots/.config/quickshell/ii/modules/waffle/actionCenter/wifi/WWifiNetworkItem.qml +++ b/dots/.config/quickshell/ii/modules/waffle/actionCenter/wifi/WWifiNetworkItem.qml @@ -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") diff --git a/dots/.config/quickshell/ii/modules/waffle/actionCenter/wifi/WifiControl.qml b/dots/.config/quickshell/ii/modules/waffle/actionCenter/wifi/WifiControl.qml index ce6a2e6a7..7badea6a5 100644 --- a/dots/.config/quickshell/ii/modules/waffle/actionCenter/wifi/WifiControl.qml +++ b/dots/.config/quickshell/ii/modules/waffle/actionCenter/wifi/WifiControl.qml @@ -95,7 +95,6 @@ Item { verticalCenter: parent.verticalCenter left: parent.left } - inset: 0 implicitHeight: 40 implicitWidth: contentItem.implicitWidth + 30 color: "transparent" diff --git a/dots/.config/quickshell/ii/modules/waffle/bar/BarMenu.qml b/dots/.config/quickshell/ii/modules/waffle/bar/BarMenu.qml index 871abc23f..0d9e56364 100644 --- a/dots/.config/quickshell/ii/modules/waffle/bar/BarMenu.qml +++ b/dots/.config/quickshell/ii/modules/waffle/bar/BarMenu.qml @@ -40,6 +40,7 @@ BarPopup { WButton { id: btn Layout.fillWidth: true + inset: 2 required property var modelData forceShowIcon: root.hasIcons diff --git a/dots/.config/quickshell/ii/modules/waffle/looks/WButton.qml b/dots/.config/quickshell/ii/modules/waffle/looks/WButton.qml index dd50d725a..5dec5dffc 100644 --- a/dots/.config/quickshell/ii/modules/waffle/looks/WButton.qml +++ b/dots/.config/quickshell/ii/modules/waffle/looks/WButton.qml @@ -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 diff --git a/dots/.config/quickshell/ii/modules/waffle/looks/WChoiceButton.qml b/dots/.config/quickshell/ii/modules/waffle/looks/WChoiceButton.qml index cd0d66d59..eff776601 100644 --- a/dots/.config/quickshell/ii/modules/waffle/looks/WChoiceButton.qml +++ b/dots/.config/quickshell/ii/modules/waffle/looks/WChoiceButton.qml @@ -17,7 +17,6 @@ WButton { implicitWidth: contentItem.implicitWidth horizontalPadding: 10 verticalPadding: 11 - inset: 0 buttonSpacing: 8 color: { diff --git a/dots/.config/quickshell/ii/modules/waffle/looks/WPanelIconButton.qml b/dots/.config/quickshell/ii/modules/waffle/looks/WPanelIconButton.qml index 8d11ec199..e0e966022 100644 --- a/dots/.config/quickshell/ii/modules/waffle/looks/WPanelIconButton.qml +++ b/dots/.config/quickshell/ii/modules/waffle/looks/WPanelIconButton.qml @@ -11,7 +11,6 @@ WButton { property alias iconName: iconContent.icon property alias monochrome: iconContent.monochrome - inset: 0 implicitWidth: 40 implicitHeight: 40