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: 14271 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: Tue Nov 04 17:09:24 CET 2025 
 Total time taken to generate the page: 0.04954 seconds 
 |