Style titlebar via theme and give it a bottom border

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2021-09-07 12:52:10 -06:00
co-authored by Max Brunsfeld
parent b29e673c43
commit 59931a472b
3 changed files with 11 additions and 3 deletions
+7 -3
View File
@@ -952,9 +952,13 @@ impl View for Workspace {
Container::new(
Flex::column()
.with_child(
ConstrainedBox::new(Empty::new().boxed())
.with_height(32.)
.named("titlebar"),
ConstrainedBox::new(
Container::new(Empty::new().boxed())
.with_style(&settings.theme.workspace.titlebar)
.boxed(),
)
.with_height(32.)
.named("titlebar"),
)
.with_child(
Expanded::new(