Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT customizable at runtime #436

Open
Open
Make RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT customizable at runtime#436

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions