mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Small changes to prnitdemo layout
Ideally we should convert to box layouts anyway
This commit is contained in:
parent
0926413f90
commit
0973cc7f86
1 changed files with 5 additions and 3 deletions
|
@ -35,7 +35,7 @@ CopyPage := Page {
|
|||
|
||||
Row {
|
||||
preview := Preview {
|
||||
minimum_height: root.height - layout.padding_top - layout.padding_bottom;
|
||||
height: root.height - layout.padding_top - layout.padding_bottom;
|
||||
}
|
||||
GridLayout {
|
||||
Row {
|
||||
|
@ -55,6 +55,9 @@ CopyPage := Page {
|
|||
font_size: 28px;
|
||||
}
|
||||
}
|
||||
Row {
|
||||
Rectangle {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -153,7 +156,7 @@ PrintPage := Page {
|
|||
|
||||
Row {
|
||||
preview := Preview {
|
||||
minimum_height: root.height - layout.padding_top - layout.padding_bottom;
|
||||
height: root.height - layout.padding_top - layout.padding_bottom;
|
||||
}
|
||||
GridLayout {
|
||||
Row {
|
||||
|
@ -191,7 +194,6 @@ PrintPage := Page {
|
|||
font_size: 28px;
|
||||
}
|
||||
}
|
||||
Rectangle {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue