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 » Look and Chameleon Technology » LabelBox disappear in DarkMode under Windows
LabelBox disappear in DarkMode under Windows [message #60487] Thu, 07 March 2024 13:58 Go to next message
forlano is currently offline  forlano
Messages: 1187
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I have another issue in dark mode. The label box diappear (see picture) Shocked .

I tried to put Ctrl::SetDarkThemeEnabled(); in GUI_APP_MAIN

GUI_APP_MAIN
{ Ctrl::SetDarkThemeEnabled();
...
}


With no result. Is there a way to fix it.

Thanks a lot,
Luigi

edit: in theIde the LabelBox is barely visible but in my app it is completely disappeared
  • Attachment: pic.png
    (Size: 16.31KB, Downloaded 42 times)

[Updated on: Sun, 10 March 2024 09:35]

Report message to a moderator

Re: LabelBox disappear in DarkMode under Windows [message #60493 is a reply to message #60487] Sun, 10 March 2024 09:37 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1187
Registered: March 2006
Location: Italy
Senior Contributor
I changed the title.
In fact today i compiled the same program with the latest Upp under Windows and Linux Fedora as well.
In Linux I see the borders of the labelbox. In Windows they are absent.

Thanks,
Luigi
Re: LabelBox disappear in DarkMode under Windows [message #60498 is a reply to message #60493] Mon, 11 March 2024 14:51 Go to previous message
forlano is currently offline  forlano
Messages: 1187
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

the default color of labelbox is not visible in darkmode. However if I use

.SetColor(SBlack());

then the box appear.

I wish this is the default color. Otherwise would be nice to have this method in the lay panel.

Luigi

edit: I found

LabelBox::LabelBox()
{
	color = Null;
	SetInk(LabelBoxTextColor());
}


If I set

color = SBlack();

my problem is solved.
Is this a safe way to proceede?


[Updated on: Mon, 11 March 2024 15:00]

Report message to a moderator

Previous Topic: [solved] Flags loose colors in Windows dark theme
Goto Forum:
  


Current Time: Sat May 25 16:21:38 CEST 2024

Total time taken to generate the page: 0.02084 seconds