mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Refactor the code a bit more to better align the components in the
recommended mode. Contributes to CURA-5941.
This commit is contained in:
parent
85b34d6005
commit
990c653af4
9 changed files with 1134 additions and 1242 deletions
|
@ -11,7 +11,6 @@ Cura.ExpandableComponent
|
|||
{
|
||||
id: base
|
||||
|
||||
property int currentModeIndex: -1
|
||||
property bool hideSettings: PrintInformation.preSliced
|
||||
|
||||
property string enabledText: catalog.i18nc("@label:Should be short", "On")
|
||||
|
@ -27,13 +26,6 @@ Cura.ExpandableComponent
|
|||
|
||||
popupClosePolicy: Popup.CloseOnEscape
|
||||
|
||||
onCurrentModeIndexChanged: UM.Preferences.setValue("cura/active_mode", currentModeIndex)
|
||||
|
||||
Component.onCompleted:
|
||||
{
|
||||
popupItemWrapper.width = base.width
|
||||
}
|
||||
|
||||
UM.I18nCatalog
|
||||
{
|
||||
id: catalog
|
||||
|
@ -61,8 +53,5 @@ Cura.ExpandableComponent
|
|||
id: extrudersModel
|
||||
}
|
||||
|
||||
popupItem: PrintSetupSelectorContents
|
||||
{
|
||||
|
||||
}
|
||||
popupItem: PrintSetupSelectorContents {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue