Skip to main content

framed

Function framed 

Source
fn framed<'a>(shown: Element<'a, Message>, room: f32) -> Element<'a, Message>
Expand description

shown, which is what is being written as it would show, in the frame that stands where the text does: as tall as what it holds, no shorter than the text is at its shortest and no taller than room, past which it scrolls.