diff options
author | Jaime van Kessel <nallath@gmail.com> | 2022-01-11 13:43:01 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2022-01-11 13:43:01 +0300 |
commit | f8906597e596f81e1dfcd0dbe03203f799fca8e9 (patch) | |
tree | 5877cd0849ab9d510fa9089743184ac00f004dd8 /resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml | |
parent | b30ad58f916cb57113a93f01810d812821813b98 (diff) |
Update menu for PrinterType button
CURA-8683
Diffstat (limited to 'resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml')
-rw-r--r-- | resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml b/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml index 10bd5624d7..bacee0bc24 100644 --- a/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml +++ b/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml @@ -35,7 +35,7 @@ Item } } - //Printer type selector. + // Printer type selector. Item { id: printerTypeSelectorRow @@ -64,17 +64,18 @@ Item anchors.left: parent.left } - OldControls.ToolButton + Button { id: printerTypeSelector text: Cura.MachineManager.activeMachine !== null ? Cura.MachineManager.activeMachine.definition.name: "" - tooltip: text + height: UM.Theme.getSize("print_setup_big_item").height width: Math.round(parent.width * 0.7) + UM.Theme.getSize("default_margin").width anchors.right: parent.right - style: UM.Theme.styles.print_setup_header_button + onClicked: menu.open() + //style: UM.Theme.styles.print_setup_header_button - menu: Cura.PrinterTypeMenu { } + Cura.PrinterTypeMenu { id: menu} } } |