mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
fix: drawing behind status bar on android
This commit is contained in:
parent
10d3a60731
commit
325ff2836b
1 changed files with 4 additions and 2 deletions
|
|
@ -17,8 +17,10 @@ export component MyApp inherits Window {
|
|||
preferred-height: 768px;
|
||||
|
||||
VerticalBox {
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
padding-left: root.safe-area-inset-left;
|
||||
padding-top: root.safe-area-inset-top;
|
||||
padding-right: root.safe-area-inset-right;
|
||||
padding-bottom: root.safe-area-inset-bottom;
|
||||
|
||||
HorizontalBox {
|
||||
height: 50px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue