gpui-component/crates/ui/src/button
Moulberry c78811c4b9
button_group: Add vertical (#1537)
Adds a vertical option to the button group

Also added an example of the vertical button group to the story

Also fixed button rounding only working when both tl/bl and tr/br are
both set, now they can be set individually

I'm not sure if the justify_center in `.when(self.vertical, |this|
this.flex_col().justify_center())` is needed, but I added it to match
the behaviour of `.items_center()` when the flex direction is row.
2025-11-07 16:48:14 +08:00
..
button.rs button_group: Add vertical (#1537) 2025-11-07 16:48:14 +08:00
button_group.rs button_group: Add vertical (#1537) 2025-11-07 16:48:14 +08:00
dropdown_button.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
mod.rs toggle: Add Toggle and ToggleGroup. (#691) 2025-03-06 19:10:28 +08:00
toggle.rs toggle: Refactor Toggle, ToggleGroup API. (#1515) 2025-11-05 10:47:55 +08:00