You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The window appears with a size smaller than specified, and scroll bars are shown, "Measuring" window size with a screen capture tool I get these sizes:
Initial: 1289x727 pixels
After changing layout (and size) using my app's layout selector, and then changing back to the same (requested) size, I get:
Resized : 1369x751 pixels
I'm not sure why narrower than requested, and additional height is the window manager/title bar I assume.
Its hard to tell if this is an Iced bug, or the window manager overriding the initial window size.
Is there any way to force the initial window size?
This is running on Pop! with Cosmic Desktop, using crates.io release 0.13.1
The initial window size is the requested window size (or slightly adjusted as we see above), that coincides with the size achieved when using window_resize() later and the window displays without the need forscrollbars.
Version
crates.io release
Operating System
Linux
Do you have any log output?
N/A
The text was updated successfully, but these errors were encountered:
Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
I am seeing this problem on Linux but not Macos:
I set an initial window size with
Iced::application()
in mymain()
of this size:
The window appears with a size smaller than specified, and scroll bars are shown, "Measuring" window size with a screen capture tool I get these sizes:
Initial: 1289x727 pixels
After changing layout (and size) using my app's layout selector, and then changing back to the same (requested) size, I get:
Resized : 1369x751 pixels
I'm not sure why narrower than requested, and additional height is the window manager/title bar I assume.
Its hard to tell if this is an Iced bug, or the window manager overriding the initial window size.
Is there any way to force the initial window size?
This is running on Pop! with Cosmic Desktop, using crates.io release 0.13.1
Code can be found here
What is the expected behavior?
The initial window size is the requested window size (or slightly adjusted as we see above), that coincides with the size achieved when using
window_resize()
later and the window displays without the need forscrollbars.Version
crates.io release
Operating System
Linux
Do you have any log output?
The text was updated successfully, but these errors were encountered: