Skip to main content

Module frames

Module frames 

Source
Expand description

Styled Panel Frames

Builder pattern for creating panel frames with consistent gaps and selective corner rounding.

Uses a “gap-based” layout where panels are separated by a background gap color, and inner corners are rounded where panels meet.

§Example

StyledPanelFrame::left(ui).show(ui, |ui| {
    // Panel content
});

Structs§

Card
Card container: the theme’s secondary surface with a 1 px border, rounding and padding.
StyledPanelFrame
Styled panel frame builder

Enums§

PanelPosition
Panel position in the layout

Functions§

modern_panel_frame
Create a simple modern frame (no gaps, no rounding)