Blue on Black

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

User avatar
Site Admin
Posts: 11645
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil

Re: Blue on Black

Post by yorik » Wed Dec 11, 2019 4:22 pm

pablogil wrote:
Sat Dec 07, 2019 2:49 pm
As for the "class" to the sketcher DOF text I guess you should use QObject::setObjectName() to the QLabel so that you can access later with the following stylesheet code:
Great, that's very good to know.

However it only works for a single widget. Most of the problems we have is with modes or events INSIDE widgets. Ex: line highlight... For these, I think the only way is via FreeCAD preferences...
Posts: 9136
Joined: Mon Dec 12, 2011 4:45 pm

Re: Blue on Black

Post by triplus » Fri Jan 24, 2020 2:21 am

I created a PR that should improve the situation on dark themes and shouldn't affect light themes all that much.

P.S. Stylesheet support would likely be achievable by introducting a combination of a button (widget) as a placeholder for the link and by setting dynamic properties.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests