Merge pull request #1910 from Ultimaker/fix_dialog_sizes

Fix dialog sizes.
Tested on different OSes and screens, all looked good.
This commit is contained in:
Mark 2017-06-08 11:08:56 +02:00
parent d44caa281b
commit 8ab5c7e4cd
7 changed files with 30 additions and 31 deletions

View file

@ -53,7 +53,7 @@ Item
id: infillCellRight
height: childrenRect.height;
width: base.width * .5
width: base.width * .55
spacing: UM.Theme.getSize("default_margin").width
@ -169,6 +169,10 @@ Item
Text
{
id: infillLabel
width: (infillCellRight.width - ((infillModel.count - 1) * UM.Theme.getSize("default_margin").width)) / (infillModel.count);
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
wrapMode: Text.WordWrap
font: UM.Theme.getFont("default")
anchors.top: infillIconLining.bottom
anchors.horizontalCenter: infillIconLining.horizontalCenter