Skip to content

Commit

Permalink
Fixed examples up
Browse files Browse the repository at this point in the history
  • Loading branch information
StarArawn committed Mar 24, 2024
1 parent ba96ad3 commit f99136a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/clipping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sed tellus neque.
nine_patch={NinePatch {
handle: image,
border: Edge::all(30.0),
..default()
}}
styles={nine_patch_styles}
>
Expand Down
2 changes: 2 additions & 0 deletions examples/main_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ fn menu_button_render(
nine_patch={NinePatch {
handle: button_image_handle,
border: Edge::all(10.0),
..default()
}}
styles={KStyle {
width: Units::Stretch(1.0).into(),
Expand Down Expand Up @@ -162,6 +163,7 @@ fn startup(
nine_patch={NinePatch {
handle: panel1_image,
border: Edge::all(25.0),
..default()
}}
styles={KStyle {
width: Units::Pixels(350.0).into(),
Expand Down

0 comments on commit f99136a

Please sign in to comment.