mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Small touch-up on the rectangles
This commit is contained in:
parent
67feaed237
commit
4aed6ac6f3
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@ MainWindow := Rectangle {
|
|||
height: root.height / 3;
|
||||
y: root.height / 3;
|
||||
x: idx * root.width / 4 + root.width / 45;
|
||||
border_radius: 25lx;
|
||||
color: page_info.color;
|
||||
img := Image {
|
||||
y: 5lx;
|
||||
|
@ -54,6 +55,7 @@ MainWindow := Rectangle {
|
|||
y: 0px;
|
||||
height: root.height / 8;
|
||||
width: root.width;
|
||||
border_radius: 0lx;
|
||||
img.x: root.height / 8;
|
||||
text.y: 0px;
|
||||
text.x: root.height / 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue