Style titlebar via theme and give it a bottom border
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
co-authored by
Max Brunsfeld
parent
b29e673c43
commit
59931a472b
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user