mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -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
|
@ -7,7 +7,7 @@ import QtQuick.Controls 2.3
|
|||
import UM 1.2 as UM
|
||||
import Cura 1.0 as Cura
|
||||
|
||||
Cura.ExpandableComponent
|
||||
Cura.ExpandablePopup
|
||||
{
|
||||
id: machineSelector
|
||||
|
||||
|
@ -16,7 +16,7 @@ Cura.ExpandableComponent
|
|||
property var outputDevice: Cura.MachineManager.printerOutputDevices.length >= 1 ? Cura.MachineManager.printerOutputDevices[0] : null
|
||||
|
||||
contentPadding: UM.Theme.getSize("default_lining").width
|
||||
contentAlignment: Cura.ExpandableComponent.ContentAlignment.AlignLeft
|
||||
contentAlignment: Cura.ExpandablePopup.ContentAlignment.AlignLeft
|
||||
|
||||
UM.I18nCatalog
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue