Function cosmic::widget::text_input::layout
source ยท pub fn layout<Message>(
renderer: &Renderer,
limits: &Limits,
width: Length,
padding: Padding,
size: Option<f32>,
leading_icon: Option<&Element<'_, Message, Theme, Renderer>>,
trailing_icon: Option<&Element<'_, Message, Theme, Renderer>>,
line_height: LineHeight,
label: Option<&str>,
helper_text: Option<&str>,
helper_text_size: f32,
helper_text_line_height: LineHeight,
font: Font,
tree: &mut Tree,
) -> Node
Expand description
Computes the layout of a TextInput
.