mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +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;
|
height: root.height / 3;
|
||||||
y: root.height / 3;
|
y: root.height / 3;
|
||||||
x: idx * root.width / 4 + root.width / 45;
|
x: idx * root.width / 4 + root.width / 45;
|
||||||
|
border_radius: 25lx;
|
||||||
color: page_info.color;
|
color: page_info.color;
|
||||||
img := Image {
|
img := Image {
|
||||||
y: 5lx;
|
y: 5lx;
|
||||||
|
@ -54,6 +55,7 @@ MainWindow := Rectangle {
|
||||||
y: 0px;
|
y: 0px;
|
||||||
height: root.height / 8;
|
height: root.height / 8;
|
||||||
width: root.width;
|
width: root.width;
|
||||||
|
border_radius: 0lx;
|
||||||
img.x: root.height / 8;
|
img.x: root.height / 8;
|
||||||
text.y: 0px;
|
text.y: 0px;
|
||||||
text.x: root.height / 4;
|
text.x: root.height / 4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue