Skip to content

Commit

Permalink
editor: added borders to groups (#5612)
Browse files Browse the repository at this point in the history
  • Loading branch information
FloVanGH committed Jul 12, 2024
1 parent 806d12b commit 96f2f15
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/lsp/ui/components/group.slint
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,9 @@ export component Group {
content-layer := VerticalLayout {
@children
}

Rectangle {
border-width: 1px;
border-color: Palette.border;
}
}
7 changes: 7 additions & 0 deletions tools/lsp/ui/views/property-view.slint
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export component PropertyView {
}

content-layer := VerticalLayout {
padding: background-layer.border-width;

GroupHeader {
title: @tr("Properties");
}
Expand Down Expand Up @@ -237,4 +239,9 @@ export component PropertyView {
}
}
}

Rectangle {
border-width: 1px;
border-color: Palette.border;
}
}

0 comments on commit 96f2f15

Please sign in to comment.