Replies: 2 comments
-
You can use css doc example |
Beta Was this translation helpful? Give feedback.
-
Hi @Kiritsuu nice to hear that someone uses giu 😄
unfortunately this is something handled by glfw and it depends on platform (e.g. for me on linux this title bar is different)
generally this is set by giu.Style().
SetColor(colid1, colornames.Red).
SetColor(colid2, colornames.Blue).
SetStyle(styleid1, 20, 40).
SetStyleFloat(styleid2, 8.5) // e.t.c. Now depending on what you want to do you can either use Push/Pop or giu.SingleWindow().Layout(
giu.Style()./*your style settings like above*/.To(
widget1,
widget2,
),
) or for the whole app you can do like this: func loop() {
myStyle := Style()./*your style settings*/
myStyle.Push()
// render your app (SingleWindow, widgets e.t.c.)
myStyle.Pop()
}
You can also use CSS styling if you prefer 😄 here is also something that you might want to check: https://github.com/AllenDang/giu/wiki#style-related |
Beta Was this translation helpful? Give feedback.
-
Hello 👋
This is my first time using GIU, I am having a few issues figuring some stuff out. I'll list below some items I could use help figure out.
Styling the title bar:
setting the MasterWindow Backgorund, and making buttons, dropdowns, and other items look more like Dear ImGUI:
Furthermore, the default hover color of buttons and I think items are light blue? Any way of changing this?
Beta Was this translation helpful? Give feedback.
All reactions