Crates.io | cuicui_layout_bevy_ui |
lib.rs | cuicui_layout_bevy_ui |
version | 0.12.0 |
source | src |
created_at | 2023-07-08 18:53:55.466959 |
updated_at | 2023-11-10 14:52:27.343752 |
description | Integration with bevy_ui for cuicui_layout |
homepage | |
repository | https://github.com/nicopap/cuicui_layout |
max_upload_size | |
id | 911621 |
size | 28,023 |
cuicui_layout
integration for bevy_ui
Provides the UiDsl
trait, extending the cuicui_layout
's LayoutDsl
with the following features:
Style
border color and width (but only uniform)ui
.Note that this is in addition to the methods LayoutDsl
already supports.
Additionally, cuicui_layout_bevy_ui
provides a ContentSized
implementation
that supports Text
and UiImage
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 UiDsl
entails.