Combobox height/width was being resized by RowLayout causing it to be squished. Assigned a implicit width/height which is used instead of height/width.

CURA-8688
This commit is contained in:
j.delarago 2022-02-23 12:00:11 +01:00
parent 9f75b870a7
commit c3abfec535
2 changed files with 5 additions and 2 deletions

View File

@ -91,10 +91,12 @@ UM.Dialog
buttonSpacing: UM.Theme.getSize("thin_margin").width
leftButtons: [
ComboBox
Cura.ComboBox
{
implicitHeight: UM.Theme.getSize("combobox_dialog").height
implicitWidth: UM.Theme.getSize("combobox_dialog").width
id: discardOrKeepProfileChangesDropDownButton
width: 300
textRole: "text"
model: ListModel

View File

@ -620,6 +620,7 @@
"checkbox_label_padding": [0.5, 0.5],
"spinbox": [6.0, 3.0],
"combobox_dialog": [14, 2],
"tooltip": [20.0, 10.0],
"tooltip_margins": [1.0, 1.0],