-
Notifications
You must be signed in to change notification settings - Fork 9
Component ButtonGroup
MeowLynxSea edited this page Jan 23, 2026
·
4 revisions
A layout helper for grouping buttons.
use gpui::px;
use yororen_ui::component::{button, button_group};
let view = button_group()
.gap(px(8.).into())
.child(button().child("Cancel"))
.child(button().child("Save"));- Use
.connected(true)when you want a single connected shape.
Yororen UI v0.3.0 · repository · Apache-2.0 · This wiki documents Yororen UI v0.3.0.
This wiki documents Yororen UI v0.3.0 — the headless-core, swappable-renderer build.