raylib-rs
raylib-rs copied to clipboard
GUI Text disappears when using a .rgs style file.
I have a small sample project that works normally as expected but when i use a .rgs style file using raylib.gui_load_style() all the text from all GUI elements disappear. The GUI elements themselves keep working fine and are rendered correctly (colors and everything). I have used the .rgs files from the official raygui repo. I don't know why this happens or what i am doing wrong. I am using MINGW64 as my GCC toolchain, other than that i have installed everything the recommended way (Rust and raylib and whatnot) and am working on Windows.
It's especially puzzling, considering that the fonts are supposed to be baked into the .rgs files.

I had same problem, but in linux
raygui has changed a lot in the last years, afaik, .rgs styles on raygui repo are aligned with latest raygui and rGuiStyler, maybe the bindings are not up to date?
I managed to use a more updated version with the fork in: https://github.com/litten2up/raylib-rs
For anyone who wants a working alternative, try out egui-macroquad. It uses egui as the GUI and macroquad as the canvas of pixels you can manipulate. Compiles for both desktop and the browser.