aboutsummaryrefslogtreecommitdiff
path: root/quickshell/IconButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'quickshell/IconButton.qml')
-rw-r--r--quickshell/IconButton.qml41
1 files changed, 0 insertions, 41 deletions
diff --git a/quickshell/IconButton.qml b/quickshell/IconButton.qml
deleted file mode 100644
index 96c4c7f..0000000
--- a/quickshell/IconButton.qml
+++ /dev/null
@@ -1,41 +0,0 @@
-import QtQuick
-
-MouseArea {
- id: iconButton
-
- property string icon: ""
- property string tooltip: ""
-
- width: 32
- height: 32
-
- hoverEnabled: true
- cursorShape: Qt.PointingHandCursor
- enabled: true
- z: 10
-
- Rectangle {
- anchors.fill: parent
- color: "transparent"
- radius: 6
-
- Behavior on color {
- ColorAnimation { duration: 200 }
- }
-
- Text {
- id: iconText
- anchors.centerIn: parent
- text: iconButton.icon
- font.family: shellRoot.fontFamily
- font.pixelSize: 22
- color: shellRoot.white
-
- Component.onCompleted: {
- console.log("IconButton text:", iconButton.icon, "length:", iconButton.icon.length)
- }
- }
- }
-
-
-}