summaryrefslogtreecommitdiff
path: root/modules/osd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/osd')
-rw-r--r--modules/osd/Wrapper.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/osd/Wrapper.qml b/modules/osd/Wrapper.qml
index 56479ad..22d5f74 100644
--- a/modules/osd/Wrapper.qml
+++ b/modules/osd/Wrapper.qml
@@ -11,14 +11,14 @@ Item {
visible: width > 0
implicitWidth: 0
- implicitHeight: content.height + BorderConfig.rounding * 2
+ implicitHeight: content.implicitHeight + BorderConfig.rounding * 2
states: State {
name: "visible"
when: root.visibility
PropertyChanges {
- root.implicitWidth: content.width
+ root.implicitWidth: content.implicitWidth
}
}