-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues.
Is this issue related to iced?
- My hardware is compatible and my graphics drivers are up-to-date.
What happened?
Defining the size of the window using settings.window.size is wildly inconsistent under wayland. With settings.window.resizable set to true, the width is the number of pixels passed in, but the height has ~35 pixels added to it. With resizable set to false, both the height and width are ~20 pixels extra. I measured this as best I could with the apt package screenruler's graphical screen ruler. These numbers aren't 100% precise but they are consistent.
What is the expected behavior?
When I pass dimensions into the settings.window.size setting, the window should be created with those dimensions.
Version
crates.io release
Operating System
Linux
Do you have any log output?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working