module

Egui::StyleProps

Ready-made declaration sets shared by several widgets (widgets return their OWN array — treat the results as read-only).

Class methods

buttonlike

Widgets painted as a filled box (buttons & friends). ONE CSS-like background key — per-state values come from state rules (button:hover { … }) and are resolved automatically from the widget's live interaction state (see Widget#background_color).

Source
textlike

Text-carrying widgets: color + size + weight + family. font_size floors at 0 — a negative size is meaningless (the inspector clamps); font_weight is the CSS 100..900 ladder edited from a list (>= 600 synthesizes bold — see Style#font_weight).

Source