Use macros to generate bevy_ui
layouts from CSS strings
#8769
Labels
A-UI
Graphical user interfaces, styles, layouts, and widgets
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
X-Controversial
There is active debate or serious implications around merging this PR
What problem does this solve or what need does it fill?
I am new to rust and bevy. I came from node and web background and I can honestly say writing UI with the current version of bevy_ui is very hard. (0.10.1)
What solution would you like?
if it's mimicing exactly css flexbox is it posible to use valid css string?
example css_str:
if you impelement FromStr or macro or something...
What alternative(s) have you considered?
as an example main_menu_style.css file in the
assets/styles/
folder andasset_server.load(styles/main_menu_style.css)
and use asset with a macro or etc.Additional context
if bevy graphical ui happens some time in the future users will feel forced to use the graphical ui to create game ui becase of these too much verbosity. also considering gridbox is a thing.
The text was updated successfully, but these errors were encountered: