File tree Expand file tree Collapse file tree 3 files changed +410
-0
lines changed Expand file tree Collapse file tree 3 files changed +410
-0
lines changed Original file line number Diff line number Diff line change @@ -1802,6 +1802,16 @@ description = "Showcases the RelativeCursorPosition component"
1802
1802
category = " UI (User Interface)"
1803
1803
wasm = true
1804
1804
1805
+ [[example ]]
1806
+ name = " size_constraints"
1807
+ path = " examples/ui/size_constraints.rs"
1808
+
1809
+ [package .metadata .example .size_constraints ]
1810
+ name = " Size Constraints"
1811
+ description = " Demonstrates how the to use the size constraints to control the size of a UI node."
1812
+ category = " UI (User Interface)"
1813
+ wasm = true
1814
+
1805
1815
[[example ]]
1806
1816
name = " text"
1807
1817
path = " examples/ui/text.rs"
Original file line number Diff line number Diff line change @@ -338,6 +338,7 @@ Example | Description
338
338
[ Overflow] ( ../examples/ui/overflow.rs ) | Simple example demonstrating overflow behavior
339
339
[ Overflow and Clipping Debug] ( ../examples/ui/overflow_debug.rs ) | An example to debug overflow and clipping behavior
340
340
[ Relative Cursor Position] ( ../examples/ui/relative_cursor_position.rs ) | Showcases the RelativeCursorPosition component
341
+ [ Size Constraints] ( ../examples/ui/size_constraints.rs ) | Demonstrates how the to use the size constraints to control the size of a UI node.
341
342
[ Text] ( ../examples/ui/text.rs ) | Illustrates creating and updating text
342
343
[ Text Debug] ( ../examples/ui/text_debug.rs ) | An example for debugging text layout
343
344
[ Text Wrap Debug] ( ../examples/ui/text_wrap_debug.rs ) | Demonstrates text wrapping
You can’t perform that action at this time.
0 commit comments