Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » Bugfix: Report header/footer looks good in dark mode, not dark
Bugfix: Report header/footer looks good in dark mode, not dark [message #56759] Mon, 12 April 2021 03:02 Go to previous message
zsolt is currently offline  zsolt
Messages: 697
Registered: December 2005
Location: Budapest, Hungary
Contributor
-------------------------- uppsrc/Report/Report.cpp ---------------------------
index 7cd2cd679..f46905e9f 100644
@@ -51,7 +51,9 @@ Rect Report::GetPageRect()
 void Report::PaintHF(Draw& w, int y, const char *qtf, int i)
 {
 	RichText txt = ParseQTF(FormatHF(qtf, i));
-	txt.Paint(w, 0, y, GetSize().cx);
+	PaintInfo pi;
+	pi.highlightpara = false;
+	txt.Paint(w, 0, y, GetSize().cx, pi);
 }
 
 
Read Message
Read Message
Read Message
Previous Topic: Text wrapping in QTF Table
Next Topic: QTF Centered in ArrayCtrl header
Goto Forum:
  


Current Time: Sat Apr 27 14:03:49 CEST 2024

Total time taken to generate the page: 0.02817 seconds