SFML/imgui-sfml

Cannot set the background color of an ImGui tab bar

jit-zs opened this issue · 0 comments

I have tried everything and it still hasn't worked. I've been using ImGui::PushStyleColor but i don't even know if thats the way to go

ImGui::PushStyleColor(ImGuiCol_WindowBg, ImVec4(0.1, 0.1, 0.1, 1));
ImGui::PushStyleColor(ImGuiCol_TitleBgActive, ActiveBackground);
ImGui::PushStyleColor(ImGuiCol_HeaderActive, ActiveBackground);

ImGui::PushStyleColor(ImGuiCol_Tab, ImVec4(0.3, 0.3, 0.3, 1));
ImGui::PushStyleColor(ImGuiCol_TabActive, ActiveForeground);
ImGui::PushStyleColor(ImGuiCol_TabSelectedOverline, ActiveForegroundHighlight);
ImGui::PushStyleColor(ImGuiCol_ChildBg, ImVec4(1, 1, 1, 1));

ImGui::PushStyleColor(ImGuiCol_FrameBg, ActiveForeground);
ImGui::PushStyleColor(ImGuiCol_FrameBgActive, HightlightForeground);
ImGui::PushStyleColor(ImGuiCol_FrameBgHovered, ActiveForegroundHighlight);

ImGui::PushStyleColor(ImGuiCol_Border, ActiveBackground);
ImGui::PushStyleColor(ImGuiCol_DragDropTarget, ActiveBackground);

image