Skip to main content

bar_height

Function bar_height 

Source
pub fn bar_height(scale: FontScale) -> f32
Expand description

The header bar’s height. 44px at 100% scale.

Taller than the 28px controls inside it on purpose: the difference is what makes the bar read as a plane the controls sit on, rather than as a row of controls with a background colour.