BoxPopup: more reliable implicitWidth (margins)
This commit is contained in:
parent
1c7015bbd2
commit
e4f1cb6545
|
@ -27,7 +27,8 @@ HPopup {
|
|||
id: box
|
||||
clickButtonOnEnter: "ok"
|
||||
implicitWidth: Math.min(
|
||||
window.width - popup.margins, theme.controls.popup.defaultWidth,
|
||||
window.width - popup.leftMargin - popup.rightMargin,
|
||||
theme.controls.popup.defaultWidth,
|
||||
)
|
||||
|
||||
buttonModel: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user