andlabs / andlabs/libui

Cannot center window before showing it on linux

Open
#183 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
10.9k
Forks
612
PR merge metrics
No merged PRs in 30d

Description

Windows are not centered by default. Calling `Show` and `Center` does not work well because the window is first displayed in a corner of the screen and is then centered. Calling `Center` and `Show` doesn't work, `Center` fails.

Provide a way to center the window by default.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.