mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 11:21:14 -07:00
Make SimulationViewMenuComponent also use the ExpandableComponent
CURA-5785
This commit is contained in:
parent
deb5fd1926
commit
785c2661a2
3 changed files with 20 additions and 64 deletions
|
|
@ -47,6 +47,14 @@ Item
|
|||
popup.contentItem = popupItem
|
||||
}
|
||||
|
||||
Connections
|
||||
{
|
||||
// Since it could be that the popup is dynamically populated, we should also take these changes into account.
|
||||
target: popupItem
|
||||
onWidthChanged: popup.width = popupItem.width + 2 * popup.padding
|
||||
onHeightChanged: popup.height = popupItem.height + 2 * popup.padding
|
||||
}
|
||||
|
||||
implicitHeight: 100
|
||||
implicitWidth: 400
|
||||
Rectangle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue