AllenDang / giu

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

[bug] More style vars missing #725

Closed damntourists closed 8 months ago

damntourists commented 8 months ago

What happend?

Hi there,

Similar to my last bug report https://github.com/AllenDang/giu/issues/721 it appears I'm also missing the following style vars (please correct me if I'm wrong!):

ColumnsMinSpacing
TabBorderSize
TabMinWidthForCloseButton

Could we get those added as well? :D

Do you think theming using ImThemes would be useful on its own as an addon for giu? I can create a repository for it separate from the other work I'm doing with giu.

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

In reference to https://github.com/AllenDang/cimgui-go/blob/main/cimgui_enums.go I found only this:

        StyleVarTabBarBorderSize = 23