ltk::types

Function set_fluid_reference

Source
pub fn set_fluid_reference(reference_vmin: f32)
Expand description

Set the reference surface (short-side px) that Length::fluid interprets its design pixels against. Call once at startup (e.g. before crate::run) to align the fluid scale to the surface mock-up the app was designed for. Default: 412 px.