Skip to content

ui::Symmetric

Header: winui/core/Geometry.hpp.

A ui::Thickness with one value on the left and right and another on the top and bottom: .padding = ui::Symmetric{.horizontal = 16, .vertical = 8}.

Converts to a Thickness wherever one is taken.

Field Type Default
horizontal float 0.0f The left and the right edge, DIPs.
vertical float 0.0f The top and the bottom edge, DIPs.