Fix auto-adjust for "Print Setup" text

CURA-4341
This commit is contained in:
Lipu Fei 2017-10-10 14:26:25 +02:00
parent b86f98c444
commit 0e45ec1197

View File

@ -136,7 +136,7 @@ Rectangle
anchors.rightMargin: UM.Theme.getSize("sidebar_margin").width
anchors.top:
{
if (settingsModeLabel.contentWidth >= parent.width - width - UM.Theme.getSize("sidebar_margin").width)
if (settingsModeLabel.contentWidth >= parent.width - width - UM.Theme.getSize("sidebar_margin").width * 2)
{
return settingsModeLabel.bottom;
}