mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Fix size of print setup selector
CURA-9139
This commit is contained in:
parent
fc03d6dfd8
commit
965ecb744d
3 changed files with 3 additions and 7 deletions
|
@ -266,10 +266,8 @@ Item
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onReleased:
|
onReleased: dragging = false
|
||||||
{
|
|
||||||
dragging = false
|
|
||||||
}
|
|
||||||
|
|
||||||
onDoubleClicked:
|
onDoubleClicked:
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue