#2659·DearPyGui

Docted 窗口标签/ 标题栏忽略了主题( mvTheme Col TitleBg * / mvTheme Col Tab * 在停靠时没有应用)

作者: rysk-t创建于 2026年6月17日更新于 2026年6月25日
标签state: pendingtype: bug

Dear PyGui version: 2.3.1 Python version: 3.11.4 Operating system: Windows 11H2 My issue/question: When windows are docked, the dock node's tab/title bar keeps the default colors even though a global theme sets mvThemeCol_TitleBgActive/mvThemeCol_Tab*. The same colors apply correctly to floating (non-docked) windows. Root cause: ImGui draws a docked node's tab/title bar from the base style (the dockspace host is submitted before the theme is pushed each frame), i.e. outside the per-item PushStyleColor scope DPG uses for theming. Currently only mvThemeCol_DockingPreview is mirrored into the base style (#1429); the title/tab colors are not. To Reproduce

内容来源: hoffstadt/DearPyGui