use ui::{icons::glyph, widgets::Scaffolding};
theme.page_column()
.child(theme.page_header("Devices", Some(3)))
.child(theme.page_subtitle("Signed in on three machines."))
.child(theme.group_box()
.child(theme.card_row(true)
.child(theme.row_icon(glyph::Monitor))
.child(theme.row_title("Appearance")))
.child(theme.card_row(false)
.child(theme.row_icon(glyph::Folder))
.child(theme.row_title("Storage"))))- Pass
first: trueto the opening row only; every other row draws a hairline above itself. - Hover is the caller's. Chain one
.hover(..)withTheme::element_hover; gpui panics on a second. - An
option_cardpreview that paints a background rounds itself toOPTION_CARD_RADIUS.