Break context menu items out in theme
This commit is contained in:
parent
6b96822c1a
commit
b428d0de38
2 changed files with 10 additions and 4 deletions
|
@ -890,11 +890,11 @@ impl ProjectPanel {
|
|||
|
||||
Overlay::new(
|
||||
Flex::column()
|
||||
.with_child(Label::new("Add File".to_string(), style.label.clone()).boxed())
|
||||
.with_child(
|
||||
Label::new("Add File".to_string(), style.item.label.clone()).boxed(),
|
||||
)
|
||||
.contained()
|
||||
.with_style(style.container)
|
||||
// .constrained()
|
||||
// .with_width(style.width)
|
||||
.boxed(),
|
||||
)
|
||||
.with_abs_position(menu.position)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue