summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/bar/components/TrayItem.qml4
-rw-r--r--modules/bar/components/workspaces/ActiveIndicator.qml8
-rw-r--r--modules/bar/components/workspaces/OccupiedBg.qml4
-rw-r--r--modules/notifications/Notification.qml4
4 files changed, 10 insertions, 10 deletions
diff --git a/modules/bar/components/TrayItem.qml b/modules/bar/components/TrayItem.qml
index 5ce45ee..57ec106 100644
--- a/modules/bar/components/TrayItem.qml
+++ b/modules/bar/components/TrayItem.qml
@@ -15,8 +15,8 @@ MouseArea {
required property color colour
acceptedButtons: Qt.LeftButton | Qt.RightButton
- width: Appearance.font.size.smaller * 2
- height: Appearance.font.size.smaller * 2
+ implicitWidth: Appearance.font.size.smaller * 2
+ implicitHeight: Appearance.font.size.smaller * 2
onClicked: event => {
if (event.button === Qt.LeftButton)
diff --git a/modules/bar/components/workspaces/ActiveIndicator.qml b/modules/bar/components/workspaces/ActiveIndicator.qml
index a9d3e60..0f904a1 100644
--- a/modules/bar/components/workspaces/ActiveIndicator.qml
+++ b/modules/bar/components/workspaces/ActiveIndicator.qml
@@ -24,8 +24,8 @@ Rectangle {
clip: true
x: vertical ? 1 : offset + 1
y: vertical ? offset + 1 : 1
- width: (vertical ? BarConfig.sizes.innerHeight : size) - 2
- height: (vertical ? size : BarConfig.sizes.innerHeight) - 2
+ implicitWidth: (vertical ? BarConfig.sizes.innerHeight : size) - 2
+ implicitHeight: (vertical ? size : BarConfig.sizes.innerHeight) - 2
radius: BarConfig.workspaces.rounded ? Appearance.rounding.full : 0
Rectangle {
@@ -53,8 +53,8 @@ Rectangle {
x: root.vertical ? 0 : -parent.offset
y: root.vertical ? -parent.offset : 0
- width: root.maskWidth
- height: root.maskHeight
+ implicitWidth: root.maskWidth
+ implicitHeight: root.maskHeight
anchors.horizontalCenter: root.vertical ? parent.horizontalCenter : undefined
anchors.verticalCenter: root.vertical ? undefined : parent.verticalCenter
diff --git a/modules/bar/components/workspaces/OccupiedBg.qml b/modules/bar/components/workspaces/OccupiedBg.qml
index ae9c333..00f9666 100644
--- a/modules/bar/components/workspaces/OccupiedBg.qml
+++ b/modules/bar/components/workspaces/OccupiedBg.qml
@@ -57,8 +57,8 @@ Item {
x: start?.x ?? 0
y: start?.y ?? 0
- width: root.vertical ? BarConfig.sizes.innerHeight : end?.x + end?.width - start?.x
- height: root.vertical ? end?.y + end?.height - start?.y : BarConfig.sizes.innerHeight
+ implicitWidth: root.vertical ? BarConfig.sizes.innerHeight : end?.x + end?.width - start?.x
+ implicitHeight: root.vertical ? end?.y + end?.height - start?.y : BarConfig.sizes.innerHeight
anchors.horizontalCenter: root.vertical ? parent.horizontalCenter : undefined
anchors.verticalCenter: root.vertical ? undefined : parent.verticalCenter
diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml
index 3844aaf..594d9de 100644
--- a/modules/notifications/Notification.qml
+++ b/modules/notifications/Notification.qml
@@ -104,8 +104,8 @@ StyledRect {
sourceComponent: ClippingRectangle {
radius: Appearance.rounding.full
- width: NotifsConfig.sizes.image
- height: NotifsConfig.sizes.image
+ implicitWidth: NotifsConfig.sizes.image
+ implicitHeight: NotifsConfig.sizes.image
Image {
anchors.fill: parent