Struct conrod::widget::drop_down_list::Style[][src]

pub struct Style {
    pub color: Option<Color>,
    pub border: Option<Scalar>,
    pub border_color: Option<Color>,
    pub label_color: Option<Color>,
    pub label_font_size: Option<FontSize>,
    pub label_justify: Option<Justify>,
    pub label_x: Option<Relative>,
    pub label_y: Option<Relative>,
    pub maybe_max_visible_height: Option<Option<MaxHeight>>,
    pub scrollbar_position: Option<Option<ScrollbarPosition>>,
    pub scrollbar_width: Option<Option<Scalar>>,
    pub label_font_id: Option<Option<Id>>,
}

Styling for the DropDownList, necessary for constructing its renderable Element.

Fields

Color of the widget.

Width of the widget's border.

Color of the widget's border.

Color of the item labels.

Font size for the item labels.

The label's typographic alignment over the x axis.

The label's position relative to its Button along the x axis.

The label's position relative to its Button along the y axis.

Maximum height of the Open menu before the scrollbar appears.

The position of the scrollbar in the case that the list is scrollable.

The width of the scrollbar in the case that the list is scrollable.

The ID of the font used to display the labels.

Methods

impl Style
[src]

Style for a Button given this Style's current state.

Trait Implementations

impl Copy for Style
[src]

impl Clone for Style
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Style
[src]

Formats the value using the given formatter. Read more

impl Default for Style
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Style
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Style

impl Sync for Style