mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Scale instead of center for preview/prepare-menus. [CURA-6478]
This commit is contained in:
parent
bd262ca6c4
commit
c4265c1f67
4 changed files with 26 additions and 25 deletions
|
@ -81,9 +81,6 @@ Item
|
|||
// Prefix used for the dragged position preferences. Preferences not used if empty. Don't translate!
|
||||
property string dragPreferencesNamePrefix: ""
|
||||
|
||||
// Whether this component can remain when switchin from one stage to the other (for ex. 'Prepare' to 'Preview')
|
||||
property bool isMultiStage: false
|
||||
|
||||
function toggleContent()
|
||||
{
|
||||
contentContainer.visible = !expanded
|
||||
|
@ -328,18 +325,6 @@ Item
|
|||
updateDragPosition();
|
||||
}
|
||||
|
||||
Connections
|
||||
{
|
||||
target: UM.Controller
|
||||
onActiveStageChanged:
|
||||
{
|
||||
if (isMultiStage)
|
||||
{
|
||||
updateDragPosition();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DO NOT MOVE UP IN THE CODE: This connection has to be here, after the definition of the content item.
|
||||
// Apparently the order in which these are handled matters and so the height is correctly updated if this is here.
|
||||
Connections
|
||||
|
|
|
@ -12,7 +12,6 @@ Cura.ExpandableComponent
|
|||
id: printSetupSelector
|
||||
|
||||
dragPreferencesNamePrefix: "view/settings"
|
||||
isMultiStage: true
|
||||
|
||||
property bool preSlicedData: PrintInformation.preSliced
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue