Add gap between label and keybinding in Tooltip
This commit is contained in:
parent
d711087529
commit
dbb501d7eb
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ impl Render for Tooltip {
|
|||
.px_2()
|
||||
.child(
|
||||
h_stack()
|
||||
.gap_2()
|
||||
.child(self.title.clone())
|
||||
.when_some(self.key_binding.clone(), |this, key_binding| {
|
||||
this.justify_between().child(key_binding)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue