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 » CalendarCtrl » Calendar & Clock titles unreadable (white numbers on light gray)
Calendar & Clock titles unreadable (white numbers on light gray) [message #58603] Sat, 02 July 2022 13:06 Go to next message
awksed is currently offline  awksed
Messages: 52
Registered: April 2012
Member
Hi,

The Calendar & Clock "title bars" are unreadable (white numbers on a light gray background). It is so on the nightly build.

See attached .png.

Is there a way to change the Calendar and Clock "title bar" background and font colour?

Thanks.
Re: Calendar & Clock titles unreadable (white numbers on light gray) [message #58699 is a reply to message #58603] Mon, 25 July 2022 17:40 Go to previous messageGo to next message
awksed is currently offline  awksed
Messages: 52
Registered: April 2012
Member
Should anyone be interested. Here is how I fixed the clock.


Clock& Clock::SetStyle(const Style& s)
{
 style = &s;
 //nbg = CtrlImg::Bg();
 nbg = Colorize(CtrlImg::Bg(), s.header, 150); // Fom the old class
 Refresh();
 return *this;
}

Re: Calendar & Clock titles unreadable (white numbers on light gray) [message #58700 is a reply to message #58699] Mon, 25 July 2022 22:24 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 974
Registered: September 2012
Location: Poland, Kraków
Experienced Contributor
Hello,

I created PR #84 to address this issue. Thank you for the code that do the job.

Klugier


Ultimate++ - one framework to rule them all.
Re: Calendar & Clock titles unreadable (white numbers on light gray) [message #58704 is a reply to message #58603] Fri, 29 July 2022 09:32 Go to previous message
awksed is currently offline  awksed
Messages: 52
Registered: April 2012
Member
Hi Klugier,

Happy to help.

awksed
Previous Topic: DropTime TimeAlways
Goto Forum:
  


Current Time: Tue Aug 09 15:08:27 CEST 2022

Total time taken to generate the page: 0.00990 seconds