mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-22 00:02:40 +00:00
editor: added borders to groups (#5612)
This commit is contained in:
parent
806d12bcb3
commit
96f2f15552
2 changed files with 12 additions and 0 deletions
|
@ -42,4 +42,9 @@ export component Group {
|
||||||
content-layer := VerticalLayout {
|
content-layer := VerticalLayout {
|
||||||
@children
|
@children
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
border-width: 1px;
|
||||||
|
border-color: Palette.border;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,8 @@ export component PropertyView {
|
||||||
}
|
}
|
||||||
|
|
||||||
content-layer := VerticalLayout {
|
content-layer := VerticalLayout {
|
||||||
|
padding: background-layer.border-width;
|
||||||
|
|
||||||
GroupHeader {
|
GroupHeader {
|
||||||
title: @tr("Properties");
|
title: @tr("Properties");
|
||||||
}
|
}
|
||||||
|
@ -237,4 +239,9 @@ export component PropertyView {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
border-width: 1px;
|
||||||
|
border-color: Palette.border;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue