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
Would a flag for centered tab bars be a good idea?
I am aware that centering UI elements is generally difficult in single pass layout, but it the tab bar code in ImGui::TabBarLayout already does caching of all tab sizes, so this seems trivial, it seems to work great just adding something along the lines of
Would be nice to have a way to control the alignment of text inside a tab as well. I'd like to match the alignment of the window title when it is not docked, with the alignment of the title inside a tab when the window is docked.
Version/Branch of Dear ImGui:
v1.91.3 docking
Back-ends:
SDL + opengl 3
Compiler, OS:
VS 2022
Full config/build information:
No response
Details:
Would a flag for centered tab bars be a good idea?
I am aware that centering UI elements is generally difficult in single pass layout, but it the tab bar code in
ImGui::TabBarLayout
already does caching of all tab sizes, so this seems trivial, it seems to work great just adding something along the lines ofBut maybe there is a more correct way, or it is not deemed a desirable feature.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered: