mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Inheriting components don't have full access to the context of their parent in QT6 (I assume?)
The buttonRow in Dialog must be exposed through an alias now (buttonArea). This fixes minimumHeight failing to evaluate buttonRow.height CURA-8640
This commit is contained in:
parent
2f96f7b410
commit
e2e0a5cdee
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ UM.Dialog
|
|||
// the size of the dialog ourselves.
|
||||
// Ugly workaround for windows having overlapping elements due to incorrect dialog width
|
||||
minimumWidth: content.width + (Qt.platform.os == "windows" ? 4 * margin : 2 * margin)
|
||||
minimumHeight: content.height + buttonRow.height + (Qt.platform.os == "windows" ? 5 * margin : 3 * margin)
|
||||
minimumHeight: content.height + buttonArea.height + (Qt.platform.os == "windows" ? 5 * margin : 3 * margin)
|
||||
|
||||
property alias color: colorInput.text
|
||||
property var swatchColors: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue