Guide API
Skip to main content

STD_BUTTON

Constant STD_BUTTON 

Source
pub const STD_BUTTON: Point;
Expand description

Standard button: 10 columns × 2 rows (row 2 is the drop shadow).

This is the default minimum face width for button_row; the autosize ButtonLayouts widen past it when a label needs the room. Ten columns is what the conventional labels come to anyway — “Cancel” is 6 columns plus BUTTON_TEXT_PADDING.