[−][src]Trait iced_native::widget::pick_list::Renderer
The renderer of a PickList
.
Your renderer will need to implement this trait before being
able to use a PickList
in your user interface.
Associated Types
Loading content...Associated Constants
const DEFAULT_PADDING: u16
The default padding of a PickList
.
Required methods
fn menu_style(style: &Self::Style) -> Self::Style
fn draw(
&mut self,
bounds: Rectangle,
cursor_position: Point,
selected: Option<String>,
padding: u16,
text_size: u16,
font: Self::Font,
style: &Self::Style
) -> Self::Output
&mut self,
bounds: Rectangle,
cursor_position: Point,
selected: Option<String>,
padding: u16,
text_size: u16,
font: Self::Font,
style: &Self::Style
) -> Self::Output
Draws a PickList
.