#bevy-ui #ui #layout #bevy #background-color #text-image

cuicui_layout_bevy_ui

Integration with bevy_ui for cuicui_layout

15 releases (breaking)

0.12.0 Nov 10, 2023
0.10.2 Oct 25, 2023
0.8.0 Jul 19, 2023

#2556 in Game dev


Used in bevy-ui-navigation

MIT/Apache

230KB
4K SLoC

cuicui_layout integration for bevy_ui

The Book Documentation

Provides the UiDsl trait, extending the cuicui_layout's LayoutDsl with the following features:

  • Style border color and width (but only uniform)
  • UI node background color
  • UI node background image
  • Direct spawning of text and images as argument to 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:

Dependencies

~45–82MB
~1.5M SLoC