Pass IDs to IconButton
s instead of generating them
This commit is contained in:
parent
7719ed0d6c
commit
47f979d457
11 changed files with 40 additions and 39 deletions
|
@ -34,7 +34,7 @@ impl<S: 'static + Send + Sync + Clone> MultiBuffer<S> {
|
|||
.p_4()
|
||||
.bg(color.editor_subheader)
|
||||
.child(Label::new("main.rs"))
|
||||
.child(IconButton::new(Icon::ArrowUpRight)),
|
||||
.child(IconButton::new(Icon::ArrowUpRight, "arrow_up_right")),
|
||||
)
|
||||
.child(buffer)
|
||||
}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue