mirror of
https://github.com/danbulant/cushy
synced 2026-06-24 17:12:11 +00:00
This commit adds my first take at creating a harness for a user's guide using the new capture functionality. The example has tests that ensure the align widget creates the expected results.
748 B
748 B
Aligning Widgets
Align a widget to the left
{{#include ../guide-examples/examples/align.rs:align-left}}
Align a widget to the left, with padding
{{#include ../guide-examples/examples/align.rs:align-left-pad}}
Align a widget to the center
{{#include ../guide-examples/examples/align.rs:centered}}
Align a widget to the right, with padding
{{#include ../guide-examples/examples/align.rs:align-right-pad}}
Align a widget to the right
{{#include ../guide-examples/examples/align.rs:align-right}}
