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"
18021802category  = " UI (User Interface)" 
18031803wasm  = true 
18041804
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+ 
18051815[[example ]]
18061816name  = " text" 
18071817path  = " examples/ui/text.rs" 
Original file line number Diff line number Diff line change @@ -338,6 +338,7 @@ Example | Description
338338[ Overflow] ( ../examples/ui/overflow.rs )  | Simple example demonstrating overflow behavior
339339[ Overflow and Clipping Debug] ( ../examples/ui/overflow_debug.rs )  | An example to debug overflow and clipping behavior
340340[ 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.
341342[ Text] ( ../examples/ui/text.rs )  | Illustrates creating and updating text
342343[ Text Debug] ( ../examples/ui/text_debug.rs )  | An example for debugging text layout
343344[ Text Wrap Debug] ( ../examples/ui/text_wrap_debug.rs )  | Demonstrates text wrapping
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments