You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was creating a GuiPanel with a default font size of >24, and I noticed that everything scaled nicely except the panel header, where the text is overly crammed. I poked around the implementation and noticed that this is controlled by #define RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT, which is only customizable at build time (also used in GuiWindowBox, GuiScrollPanel, etc). I'm currently scaling the default font size based on the window resolution, so it would be nice to modify this status bar height at runtime.
You can see the text Menu appears very crammed here:
Maybe this could be made into a raygui style setting, accessible via GuiGetStyle/GuiSetStyle?
The text was updated successfully, but these errors were encountered:
I was creating a
GuiPanel
with a default font size of >24, and I noticed that everything scaled nicely except the panel header, where the text is overly crammed. I poked around the implementation and noticed that this is controlled by#define RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT
, which is only customizable at build time (also used inGuiWindowBox
,GuiScrollPanel
, etc). I'm currently scaling the default font size based on the window resolution, so it would be nice to modify this status bar height at runtime.You can see the text
Menu
appears very crammed here:Maybe this could be made into a raygui style setting, accessible via
GuiGetStyle
/GuiSetStyle
?The text was updated successfully, but these errors were encountered: