summaryrefslogtreecommitdiff
path: root/modules/bar/popouts/Bluetooth.qml
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-12 22:41:10 -0500
committerATMDA <atdma2600@gmail.com>2025-11-12 22:41:10 -0500
commit0a33ecf4337fc52ad83c0d5d977fdf4df06b2616 (patch)
treeb288078acf4fe8b6fb70456b4958e8f0c90a9ade /modules/bar/popouts/Bluetooth.qml
parentcontrolcenter: wireless panel refactoring (diff)
downloadcaelestia-shell-0a33ecf4337fc52ad83c0d5d977fdf4df06b2616.tar.gz
caelestia-shell-0a33ecf4337fc52ad83c0d5d977fdf4df06b2616.tar.bz2
caelestia-shell-0a33ecf4337fc52ad83c0d5d977fdf4df06b2616.zip
tray: minor button updates to match
Diffstat (limited to 'modules/bar/popouts/Bluetooth.qml')
-rw-r--r--modules/bar/popouts/Bluetooth.qml40
1 files changed, 9 insertions, 31 deletions
diff --git a/modules/bar/popouts/Bluetooth.qml b/modules/bar/popouts/Bluetooth.qml
index a43bba1..60af466 100644
--- a/modules/bar/popouts/Bluetooth.qml
+++ b/modules/bar/popouts/Bluetooth.qml
@@ -9,6 +9,7 @@ import Quickshell
import Quickshell.Bluetooth
import QtQuick
import QtQuick.Layouts
+import "../../controlcenter/network"
ColumnLayout {
id: root
@@ -164,39 +165,16 @@ ColumnLayout {
}
}
- StyledRect {
- Layout.topMargin: Appearance.spacing.small
- implicitWidth: expandBtn.implicitWidth + Appearance.padding.normal * 2
- implicitHeight: expandBtn.implicitHeight + Appearance.padding.small
-
- radius: Appearance.rounding.normal
+ SimpleButton {
+ Layout.fillWidth: true
+ Layout.topMargin: Appearance.spacing.normal
color: Colours.palette.m3primaryContainer
+ onColor: Colours.palette.m3onPrimaryContainer
+ text: qsTr("Open Settings")
+ icon: "chevron_right"
- StateLayer {
- color: Colours.palette.m3onPrimaryContainer
-
- function onClicked(): void {
- root.wrapper.detach("bluetooth");
- }
- }
-
- RowLayout {
- id: expandBtn
-
- anchors.centerIn: parent
- spacing: Appearance.spacing.small
-
- StyledText {
- Layout.leftMargin: Appearance.padding.smaller
- text: qsTr("Open Settings")
- color: Colours.palette.m3onPrimaryContainer
- }
-
- MaterialIcon {
- text: "chevron_right"
- color: Colours.palette.m3onPrimaryContainer
- font.pointSize: Appearance.font.size.large
- }
+ onClicked: {
+ root.wrapper.detach("bluetooth");
}
}