forms::button
Structs
Button
A button control, delegating to a platform-specific native button.
Properties
label
Type: Property<String>
Text label displayed inside the button.
color
Type: Property<Color>
Button background color.
hover_color
Type: Property<Color>
Button background color while hovered, when supported.
corner_radius
Type: Property<f64>
Button corner radius, in pixels.
outline
Type: Property<Stroke>
Button outline stroke.
style
Type: Property<TextStyle>
Text style applied to the label.