Skip to content

Feature Resquest: Add Dark Mode Support for the internal Stylesheet #753

@LangleJ

Description

@LangleJ

When Windows is configured to use dark mode (Settings → Personalization → Colours → Change the colours that appear in Windows and your apps: Dark), the tab text for non-active tabs is not visible in the Advanced Docking System.

This appears to be a style inheritance issue, where the default stylesheet or palette does not ensure sufficient contrast for inactive tabs.

Steps to Reproduce

  1. Set Windows App Mode to Dark
  2. Launch an application using ads::CDockManager
  3. Add multiple tabs to a DockArea

Observe that only the active tab shows text; there is not enough contrast in inactive tabs to discern any text.

Workaround
Calling:
dockManager->setStyleSheet("");
resolves the issue, making all tab labels visible, however they do not highlight when selected.

Expected Behaviour:
Inactive tab labels should remain readable by default, regardless of the system colour mode.

Environment

  • Windows 11 Pro 24H2 26100.4349
  • ADS version: master
  • Qt version: 6.8.3

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions