Macro kas_macros::pack
source · pack!() { /* proc-macro */ }
Expand description
Make a pack widget
This is a small wrapper which adjusts the alignment of its contents and prevents its contents from stretching.
The alignment specifier may be one or two keywords (space-separated,
horizontal component first): default
, center
, stretch
, left
,
right
, top
, bottom
.
Example
ⓘ
let my_widget = kas::pack!(right top, "132");