Crates.io | cuicui_layout_bevy_sprite |
lib.rs | cuicui_layout_bevy_sprite |
version | 0.12.0 |
source | src |
created_at | 2023-07-08 18:53:32.843775 |
updated_at | 2023-11-10 15:01:03.22308 |
description | Integration with bevy_sprite for cuicui_layout |
homepage | |
repository | https://github.com/nicopap/cuicui_layout |
max_upload_size | |
id | 911619 |
size | 21,831 |
cuicui_layout
integration for bevy_sprite
Provide the SpriteDsl
trait, extending the cuicui_layout
's LayoutDsl
with the following features:
ui
.Note that this is in addition to the methods LayoutDsl
already supports.
Additionally, cuicui_layout_bevy_sprite
provides a ContentSized
implementation that supports Text2dBounds
and Handle<Image>
terminal nodes
which size is determined by their content.
Check the following crates for details:
cuicui_layout
: the layouting algorithmcuicui_dsl
: the dsl!
macro and what SpriteDsl
entails.