respect contents hints
This commit is contained in:
parent
597397b41f
commit
5b0b17f86a
@ -293,7 +293,7 @@ Item {
|
||||
|
||||
Item {
|
||||
id: dialogLayout
|
||||
width: Math.max(buttonItem.childrenRect.width, Math.min(contentItem.childrenRect.width, theme.mSize(theme.defaultFont).width * 30))
|
||||
width: Math.max(buttonItem.childrenRect.width, contentItem.childrenRect.width)
|
||||
height: titleBar.height + contentItem.childrenRect.height + buttonItem.childrenRect.height + 10
|
||||
|
||||
parent: internalLoader.dialog ? internalLoader.dialog : internalLoader.inlineDialog
|
||||
|
Loading…
x
Reference in New Issue
Block a user