Adjust dialog margins.

Move title into full width white square.

CURA-9424

Co-authored-by: Casper Lamboo <casper.lamboo@ultimaker.com>
This commit is contained in:
Joey de l'Arago 2022-11-03 16:43:01 +01:00
parent c987ef5315
commit 6126135adb
2 changed files with 39 additions and 31 deletions

View file

@ -26,18 +26,21 @@ Item
UM.TooltipArea
{
id: comboboxTooltip
width: (parent.width / 3) | 0
width: (parent.width / 2.5) | 0
height: visible ? UM.Theme.getSize("default_margin").height : 0
anchors.top: parent.top
anchors.right: parent.right
visible: comboboxVisible
anchors.rightMargin: UM.Theme.getSize("default_margin").width
text: comboboxTooltipText
visible: comboboxVisible
UM.Label
{
id: comboboxLabel
anchors.top: parent.top
anchors.left: parent.left
anchors.topMargin: UM.Theme.getSize("default_margin").height
visible: comboboxVisible && text != ""
text: ""
font: UM.Theme.getFont("default_bold")