mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-04 00:01:19 -07:00
Set contentType to the different expandable components.
Also add a color for the active state when the contentType is 'Fixed'. Contributes to CURA-5941.
This commit is contained in:
parent
4dcce7616b
commit
47ff95b1f3
6 changed files with 18 additions and 17 deletions
|
|
@ -14,7 +14,7 @@ Cura.ExpandableComponent
|
|||
property string enabledText: catalog.i18nc("@label:Should be short", "On")
|
||||
property string disabledText: catalog.i18nc("@label:Should be short", "Off")
|
||||
|
||||
iconSource: UM.Theme.getIcon("pencil")
|
||||
contentType: Cura.ExpandableComponent.ContentType.Fixed
|
||||
contentPadding: UM.Theme.getSize("default_lining").width
|
||||
contentSpacingY: UM.Theme.getSize("narrow_margin").width
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue