Replies: 3 comments
-
You can use preferred-width/preferred-height to give a different default size.
Yes that's right
We don't have public API to access the size of the screen at this moment. |
Beta Was this translation helpful? Give feedback.
-
Hi Oliver, thanks for this.
Is this a bug? Regards, |
Beta Was this translation helpful? Give feedback.
-
And after I added a Button to the Rectangle, suddenly preferred-size worked. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a list of default sizes for windows and other elements.
On my screen (QHD) if a window is created without width / height then it opens to about 500px square.
Am I right in thinking window does not have a parent? So I can't open a window that is half the width of the screen and .9 of the height?
regards,
John
Beta Was this translation helpful? Give feedback.
All reactions