pub const SPIN_BOX_STEP_BUTTON_WIDTH: f32 = 18.0;Expand description
Minimum total width. Below this the stacked step buttons stop
fitting next to the field. Widgets narrower than this are
enforced to the minimum at layout time via MinSize.
Painted width of one stacked step button, in dp.
Below the 24 dp WCAG floor, and no hit mechanism reaches it — see the
“Touch and pen” section of this module and StepButton::children for the
measurement. The two steps are separate nodes stacked in a trailing column
exactly one button wide, so there is nothing for Widget::hit_outset to
grow into and nothing for partition_targets to carve; growing the paint
instead would widen every numeric field on a form. Named here so the hit
mechanisms and the chrome arithmetic below read the same number.