mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 01:55:54 +08:00
Workaround on Windows.
part of CURA-8938
This commit is contained in:
parent
3cba9a9c7e
commit
37ae1cd69d
@ -24,11 +24,13 @@ UM.Dialog
|
|||||||
// In this case we would like to let the content of the dialog determine the size of the dialog
|
// In this case we would like to let the content of the dialog determine the size of the dialog
|
||||||
// however with the current implementation of the dialog this is not possible, so instead we calculate
|
// however with the current implementation of the dialog this is not possible, so instead we calculate
|
||||||
// the size of the dialog ourselves.
|
// the size of the dialog ourselves.
|
||||||
minimumWidth: content.width + 2 * margin
|
minimumWidth: content.width + 4 * margin
|
||||||
minimumHeight:
|
minimumHeight:
|
||||||
content.height // content height
|
content.height // content height
|
||||||
+ buttonRow.height // button row height
|
+ buttonRow.height // button row height
|
||||||
+ 3 * margin // top and bottom margin and margin between buttons and content
|
+ 5 * margin // top and bottom margin and margin between buttons and content
|
||||||
|
width: minimumWidth
|
||||||
|
height: minimumHeight
|
||||||
|
|
||||||
property alias color: colorInput.text
|
property alias color: colorInput.text
|
||||||
property var swatchColors: [
|
property var swatchColors: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user