Add gap between label and keybinding in `Tooltip`

Marshall Bowers created

Change summary

crates/ui2/src/components/tooltip.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

crates/ui2/src/components/tooltip.rs 🔗

@@ -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)