AllenDang / giu

Cross platform rapid GUI framework for golang based on Dear ImGui.
MIT License
2.16k stars 128 forks source link

[bug] CellPadding stylevar missing #721

Closed damntourists closed 8 months ago

damntourists commented 8 months ago

What happend?

I've been working on a theme loader for the themes.toml defined at https://github.com/Patitotective/ImThemes/ which has been working for the most part, however I'm having a bit of trouble tracking down the CellPadding style var. It's referenced in some imgui issues like found here https://github.com/ocornut/imgui/issues/5615 imgui.push_style_var_vec2(imgui.Style_Var.CellPadding, {15, 15}) however I'm not finding any Cell* or similar definitions within the cimgui or giu projects. I can skip assigning this one for now, but it would be nice to have them all present eventually.

Code example

main.go ```golang // put your code here! ```

To Reproduce

  1. Run my demo
  2. will see the crash...

Version

master

OS

ubuntu

gucio321 commented 8 months ago

fix is comming :smile:

damntourists commented 8 months ago

Thanks (yet again) @gucio321!