Small changes to prnitdemo layout

Ideally we should convert to box layouts anyway
This commit is contained in:
Olivier Goffart 2020-10-27 09:01:09 +01:00
parent 0926413f90
commit 0973cc7f86

View file

@ -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 {}
}
}
}