mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 18:19:15 +08:00
Fix errors in workspace dialog
This commit is contained in:
parent
0dda27094e
commit
f043750f70
@ -17,7 +17,6 @@ UM.Dialog
|
|||||||
minimumWidth: UM.Theme.getSize("popup_dialog").width
|
minimumWidth: UM.Theme.getSize("popup_dialog").width
|
||||||
minimumHeight: UM.Theme.getSize("popup_dialog").height
|
minimumHeight: UM.Theme.getSize("popup_dialog").height
|
||||||
width: minimumWidth
|
width: minimumWidth
|
||||||
height: Math.max(dialogSummaryItem.height + 2 * buttonsItem.height, minimumHeight) // 2 * button height to also have some extra space around the button relative to the button size
|
|
||||||
|
|
||||||
property int comboboxHeight: UM.Theme.getSize("default_margin").height
|
property int comboboxHeight: UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
@ -67,7 +66,7 @@ UM.Dialog
|
|||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: cildrenRect.height
|
height: childrenRect.height
|
||||||
|
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
@ -149,7 +148,7 @@ UM.Dialog
|
|||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: cildrenRect.height
|
height: childrenRect.height
|
||||||
|
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
@ -225,7 +224,7 @@ UM.Dialog
|
|||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: cildrenRect.height
|
height: childrenRect.height
|
||||||
|
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
@ -341,7 +340,7 @@ UM.Dialog
|
|||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: cildrenRect.height
|
height: childrenRect.height
|
||||||
Row
|
Row
|
||||||
{
|
{
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
@ -382,7 +381,7 @@ UM.Dialog
|
|||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: cildrenRect.height
|
height: childrenRect.height
|
||||||
|
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user