-
-
Notifications
You must be signed in to change notification settings - Fork 353
Open
Description
Describe the bug
Most of the examples in raygui do not adapt correctly to HiDPI (Retina/4K) displays. On such displays, GUI elements appear bigger than intended.
To Reproduce
Steps to reproduce the behavior:
- Compile any example, e.g.,
controls_test_suite.c. - Run it on a HiDPI monitor.
- Observe that GUI elements are scaled incorrectly.
Suggested fix
Add the following line before InitWindow in each example .c file:
SetConfigFlags(FLAG_WINDOW_HIGHDPI);This ensures that GUI elements are scaled properly on HiDPI displays, preventing confusion for new users who might otherwise see overly large or mis-scaled UI when first running the examples.

Metadata
Metadata
Assignees
Labels
No labels