mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Add another expandable component
Use one of them if the drop-panel has to act as a Popup and the other if it has to act as a standard component. Contributes to CURA-5941.
This commit is contained in:
parent
47ff95b1f3
commit
cdb8020029
7 changed files with 227 additions and 62 deletions
|
@ -14,11 +14,7 @@ Cura.ExpandableComponent
|
|||
property string enabledText: catalog.i18nc("@label:Should be short", "On")
|
||||
property string disabledText: catalog.i18nc("@label:Should be short", "Off")
|
||||
|
||||
contentType: Cura.ExpandableComponent.ContentType.Fixed
|
||||
contentPadding: UM.Theme.getSize("default_lining").width
|
||||
contentSpacingY: UM.Theme.getSize("narrow_margin").width
|
||||
|
||||
contentClosePolicy: Popup.CloseOnEscape
|
||||
|
||||
UM.I18nCatalog
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue