ImGui - Text in buttons is not visually centered

Who can spot the difference in these two screenshots of the GammaLauncher?

signal-2023-12-27-175202_002
grafik

For me the latter one is much better on the eye because of a very tiny detail - I have moved the text 1px up in the buttons and interactive areas, so that the cap height and baseline have the same distance to the border of the buttons. Would it be possible to make this the default for ImGui buttons?

Please take a look at your favourite software and websites. It is the default these days, so it feels a bit off in vvvv. Some examples:

Photoshop
Bildschirmfoto 2023-12-27 um 17.59.52

GitHub
Bildschirmfoto 2023-12-27 um 18.00.57

VS Code
Bildschirmfoto 2023-12-27 um 18.01.51

Notion
Bildschirmfoto 2023-12-27 um 18.02.10

Finder
Bildschirmfoto 2023-12-27 um 18.02.51

Element
Bildschirmfoto 2023-12-27 um 18.03.45

@chk It seems to be more related to the developers of imgui.
Since imgui doesn’t position itself as a “rich and beautiful” GUI, but as the fastest and bloat-free one, I don’t think it’s a point of interest for the original developers.

Try to discuss it directly with the contributors:

If I’m wrong, and this alignment is a problem that only appears at VVVV, then let me know.

1 Like

But you should know that they have about 800 open issues at the moment)

Thanks for the hint, you are right… seems to be an issue of ImGui itself.

@chk You must try to write an issue on Github.
They are really nice guys.