pub struct StyleBuilder { /* private fields */ }

Implementations

Sets padding to indent from the edges of the window. By Default it’s None.

Sets border_color for the window of “working area”. By Default it’s [egui::Color32::BLACK].

Sets border_width for the border. By Default it’s 0.0.

Sets selection color for the placing area of the tab where this tab targeted on it. By Default it’s (0, 191, 255) (light blue) with 0.5 capacity.

Sets separator_size for the rectangle separator between nodes. By Default it’s 1.0.

Sets separator_extra it sets limit for the allowed area for the separator offset. By Default it’s 175.0. bigger value > less allowed offset for the current window size.

Sets separator_colorfor the rectangle separator. By Default it’s [Color32::BLACK].

Sets tab_bar_background_color for the color of tab bar. By Default it’s [Color32::WHITE].

Sets tab_outline_color for the outline color of tabs. By Default it’s [Color32::BLACK].

Sets tab_rounding for the tab rounding.

Sets tab_background_color for the current tab background color.

Sets close_tab_color for the close tab button color.

Sets close_tab_active_color for the active close tab button color.

Sets close_tab_background_color for the background close tab button color.

Shows / Hides the tab close buttons.

Returns Style with set values.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.