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
I want to control the look of the header-like part of the window behind the tabs. I'd be interested in learning how to remove it outright, however I think it can't be done without hiding the tab bar entirely. The next best thing would be to change its color, so I do as in the attached example.
While this works as long as the windows are undocked, it doesn't work while they're docked. I assume it's because the equivalent area in docked mode corresponds to a different color other than TitleBg(...). However, I have iterated through every single ImGuiCol_(...) value and none of them show any changes; the title bar is always white (with a little line below, which I'd also be interested in changing) when unselected, grey when selected. So my question is:
How can we change the title bar's colors when docked?
Version/Branch of Dear ImGui:
Version 1.91.5 WIP (19141), Branch: docking
Back-ends:
raylib with rlImGui
Compiler, OS:
Windows 10 + MSVC 2022
Full config/build information:
Details:
I want to control the look of the header-like part of the window behind the tabs. I'd be interested in learning how to remove it outright, however I think it can't be done without hiding the tab bar entirely. The next best thing would be to change its color, so I do as in the attached example.
While this works as long as the windows are undocked, it doesn't work while they're docked. I assume it's because the equivalent area in docked mode corresponds to a different color other than
TitleBg(...)
. However, I have iterated through every singleImGuiCol_(...)
value and none of them show any changes; the title bar is always white (with a little line below, which I'd also be interested in changing) when unselected, grey when selected. So my question is:How can we change the title bar's colors when docked?
Screenshots/Video:
title_docked_vs_undocked.mp4
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: