Browse Source

Qt 5.13 compatibility - fix size of ExpandablePopup background.

Without this, the view selector dropdown has no background.

Tested with Qt 5.13 on Linux and Qt 5.10 on Windows.
Mark Burton 5 years ago
parent
commit
d10d3070b9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/qml/ExpandablePopup.qml

+ 1 - 0
resources/qml/ExpandablePopup.qml

@@ -225,6 +225,7 @@ Item
             border.width: UM.Theme.getSize("default_lining").width
             border.color: UM.Theme.getColor("lining")
             radius: UM.Theme.getSize("default_radius").width
+            height: contentItem.implicitHeight || content.height
         }
 
         contentItem: Item {}