Module style

Source
Expand description

egui theme (spacing, colors, etc).

Structs§

DebugOptions
Options for help debug egui by adding extra visualization
Interaction
How and when interaction happens.
NumberFormatter
How to format numbers in e.g. a crate::DragValue.
ScrollAnimation
Scroll animation configuration, used when programmatically scrolling somewhere (e.g. with [crate::Ui::scroll_to_cursor]).
ScrollStyle
Controls the spacing and visuals of a crate::ScrollArea.
Selection
Selected text, selected elements etc
Spacing
Controls the sizes and distances between widgets.
Style
Specifies the look and feel of egui.
StyleModifier
Utility to modify a Style in some way. Constructed via StyleModifier::from from a Fn(&mut Style) or a Style.
TextCursorStyle
Look and feel of the text cursor.
Visuals
Controls the visual style (colors etc) of egui.
WidgetVisuals
bg = background, fg = foreground.
Widgets
The visuals of widgets for different states of interaction.

Enums§

FontSelection
A way to select FontId, either by picking one directly or by using a TextStyle.
HandleShape
Shape of the handle for sliders and similar widgets.
NumericColorSpace
How to display numeric color values.
TextStyle
Alias for a FontId (font of a certain size).

Functions§

default_text_styles
The default text styles of the default egui theme.