Home » Community » U++ community news and announcements » Color widgets and RichEdit dark mode improvements
Color widgets and RichEdit dark mode improvements [message #61329] |
Thu, 26 December 2024 14:49  |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
There are new modes for ColorPusher, ColorPopup, ColorButton, WheelRampCtrl:
- DarkContent - despide current GUI mode, displays colors using DarkTheme function. Meaning if active, black is white and vice versa
- AllowDarkContent - similar, but instead of hard setting it depends on Dark theme active
Those settings then duplicated in RichEdit, ultimately bringing "dark mode" to RichEdit with somewhat consitent handling of colors. In QTF / RichText colors are still stored as light variant, but are converted during painting.
Ide is now using AllowDarkContent for all RichEdit instances, meaning "dark mode" is supported while editing docs...
|
|
|
|
|
|
Goto Forum:
Current Time: Mon Apr 28 13:26:08 CEST 2025
Total time taken to generate the page: 0.00808 seconds
|