Skip to main content

Module style

Module style 

Source
Available on crate feature egui only.
Expand description

egui theme (spacing, colors, etc).

Structs§

DebugOptionsDebug-assertions enabled
Options for help debug egui by adding extra visualization
ImeComposition
Visual style for IME composition.
Interaction
How and when interaction happens.
KineticScrollStyle
The physics of drag-scrolling a crate::ScrollArea, usually on a touch screen.
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]).
ScrollFadeStyle
Controls if and how to fade out the sides of a crate::ScrollArea to indicate there is more there if you scroll.
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.
font_tweak_ui
Show a UI for editing a FontTweak.