Expand description
egui theme (spacing, colors, etc).
Structs§
- Debug
Options - Options for help debug egui by adding extra visualization
- Interaction
- How and when interaction happens.
- Number
Formatter - How to format numbers in e.g. a
crate::DragValue
. - Scroll
Animation - Scroll animation configuration, used when programmatically scrolling somewhere (e.g. with
[crate::Ui::scroll_to_cursor]
) The animation duration is calculated based on the distance to be scrolled via[ScrollAnimation::points_per_second]
and can be clamped to a min / max duration via[ScrollAnimation::duration]
. - Scroll
Style - 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.
- Text
Cursor Style - Look and feel of the text cursor.
- Visuals
- Controls the visual style (colors etc) of egui.
- Widget
Visuals - bg = background, fg = foreground.
- Widgets
- The visuals of widgets for different states of interaction.
Enums§
- Font
Selection - A way to select
FontId
, either by picking one directly or by using aTextStyle
. - Handle
Shape - Shape of the handle for sliders and similar widgets.
- Numeric
Color Space - How to display numeric color values.
- Text
Style - Alias for a
FontId
(font of a certain size).
Functions§
- default_
text_ styles - The default text styles of the default egui theme.