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
Compared to the window created by iced_winit, the size of widgets is equal to that of iced_winit multiplied by the scale factor.
After debug and reading the source code, I found that there are two issues:
the code handles size incorrectly. Some are treated as physical size and some are treated as logical size in window state. But all size should be treated as logical size.
There is no setting destination of wp viewport when window state is created.
I have create a work in progress pr: 118, can you take a look at it?
The text was updated successfully, but these errors were encountered:
fortime
changed the title
Wrong size of iced widget when the scale factor is 1
Wrong size of iced widget when the scale factor isn't 1
Jan 17, 2025
Compared to the window created by iced_winit, the size of widgets is equal to that of iced_winit multiplied by the scale factor.
After debug and reading the source code, I found that there are two issues:
I have create a work in progress pr: 118, can you take a look at it?
The text was updated successfully, but these errors were encountered: