mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Ensure the layout gets the right width & height for the output devices popup
CURA-6222
This commit is contained in:
parent
dbb8514a6a
commit
6ff1f49c34
1 changed files with 4 additions and 0 deletions
|
|
@ -90,6 +90,10 @@ Item
|
|||
cornerRadius: 0
|
||||
hoverColor: UM.Theme.getColor("primary")
|
||||
Layout.fillWidth: true
|
||||
// The total width of the popup should be defined by the largest button. By stating that each
|
||||
// button should be minimally the size of it's content (aka; implicitWidth) we can ensure that.
|
||||
Layout.minimumWidth: implicitWidth
|
||||
Layout.preferredHeight: widget.height
|
||||
onClicked:
|
||||
{
|
||||
UM.OutputDeviceManager.setActiveDevice(model.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue