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
*Landscape, right-turn: OK (the black rectangle on the right is a spacing for the camera notch)
*Landscape, left-turn: WRONG (additional, unnecessary content shift from the left, causing also part of the content to be displayed below
the system buttons)
The text was updated successfully, but these errors were encountered:
The getWindowVisibleDisplayFrame seems to return a rectangle in the screen coordinate and cut the room for the camera.
The problem is that the Window is somehow already displaced.
The insets seems to be a better way to get that value.
Fixes#5242
The getWindowVisibleDisplayFrame seems to return a rectangle in the screen coordinate and cut the room for the camera. The problem is that the Window is somehow already displaced.
The getWindowVisibleDisplayFrame seems to return a rectangle in the screen coordinate and cut the room for the camera.
The problem is that the Window is somehow already displaced.
The insets seems to be a better way to get that value.
Fixes#5242
Slint 1.6 ("backend-android-activity-06") + Rust
Samsung Galaxy A52 5G (SM-A526B/DS)
Android 14
I noticed that the Window's content is not placed correctly in landscape mode, with a left-turned orientation.
For this code:
This is how it looks on my phone:
*Landscape, right-turn: OK
(the black rectangle on the right is a spacing for the camera notch)
*Landscape, left-turn: WRONG
(additional, unnecessary content shift from the left, causing also part of the content to be displayed below
the system buttons)
The text was updated successfully, but these errors were encountered: