Fix size of print setup selector

CURA-9139
This commit is contained in:
Jaime van Kessel 2022-04-19 16:42:43 +02:00
parent fc03d6dfd8
commit 965ecb744d
3 changed files with 3 additions and 7 deletions

View file

@ -266,10 +266,8 @@ Item
} }
} }
} }
onReleased: onReleased: dragging = false
{
dragging = false
}
onDoubleClicked: onDoubleClicked:
{ {

View file

@ -12,7 +12,6 @@ Cura.ExpandableComponent
id: printSetupSelector id: printSetupSelector
dragPreferencesNamePrefix: "view/settings" dragPreferencesNamePrefix: "view/settings"
property bool preSlicedData: PrintInformation !== null && PrintInformation.preSliced property bool preSlicedData: PrintInformation !== null && PrintInformation.preSliced
contentPadding: UM.Theme.getSize("default_lining").width contentPadding: UM.Theme.getSize("default_lining").width

View file

@ -15,9 +15,8 @@ Item
id: content id: content
property int absoluteMinimumHeight: 200 * screenScaleFactor property int absoluteMinimumHeight: 200 * screenScaleFactor
implicitWidth: UM.Theme.getSize("print_setup_widget").width - 2 * UM.Theme.getSize("default_margin").width implicitWidth: UM.Theme.getSize("print_setup_widget").width
implicitHeight: contents.height + buttonRow.height implicitHeight: contents.height + buttonRow.height
enum Mode enum Mode
{ {
Recommended = 0, Recommended = 0,