-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Describe the bug
The application currently uses hard-coded styles such as:
setStyleSheet("background-color: white")(or equivalent CSS/style calls).
This approach only renders correctly in Light Mode, whereas Dark Mode users see incorrect backgrounds, causing text visibility issues and inconsistent UI.
Expected Behavior
UI components should respect the active system or application theme.
Background colors should be derived from the default palette or theme styles rather than being hard-coded.
Proposed Fix
Replace all instances of: setStyleSheet("background-color: white") with: setStyleSheet("")
This allows the widget to inherit the correct background color from the active theme.
Screenshots
SasView version (please complete the following information):
- Version: 6.1.2
Operating system (please complete the following information):
- OS: Windows 11
Installation method (please complete the following information):
- Installed: pip