Fix PrintSetupSelector for previewStage

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-13 15:35:05 +01:00
parent c18b8241f5
commit deb5fd1926
2 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@ Item
{ {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
spacing: UM.Theme.getSize("default_margin").width spacing: UM.Theme.getSize("default_margin").width
height: parent.height
ComboBox ComboBox
{ {
// This item contains the views selector, a combobox that is dynamically created from // This item contains the views selector, a combobox that is dynamically created from
@ -87,6 +87,7 @@ Item
Cura.PrintSetupSelector Cura.PrintSetupSelector
{ {
width: UM.Theme.getSize("print_setup_widget").width width: UM.Theme.getSize("print_setup_widget").width
height: parent.height
onShowTooltip: previewMenu.showTooltip(item, location, text) onShowTooltip: previewMenu.showTooltip(item, location, text)
onHideTooltip: previewMenu.hideTooltip() onHideTooltip: previewMenu.hideTooltip()
} }

View File

@ -24,6 +24,7 @@ Cura.ExpandableComponent
signal showTooltip(Item item, point location, string text) signal showTooltip(Item item, point location, string text)
signal hideTooltip() signal hideTooltip()
implicitWidth: 200
height: childrenRect.height height: childrenRect.height
iconSource: UM.Theme.getIcon("pencil") iconSource: UM.Theme.getIcon("pencil")