Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

Post by triplus »

pablogil wrote:As an start point, triplus, you are right, these checkboxes inside QListWidget need styling, I will try to fix them this week. ;)
Much better.

P.S. I noticed small issue with QToolButton in MenuButtonPopup mode if such button isn't located on the toolbar. This one is probably low priority as it is likely to affect 3rd Party modules/macros for now but as i noticed it i reported it. You can observe the issue in TabBar preferences when switching to Toolbar tab.
User avatar
pablogil
Posts: 881
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

Post by pablogil »

OK, I have detected it, I will try to solve the issue, thanks for reporting.
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
User avatar
saso
Veteran
Posts: 1920
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

Post by saso »

this are again not included in the snapshot builds for windows (hopefully they will be in windows installers for 0.16 release?).
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

Post by jmaustpc »

saso wrote:this are again not included in the snapshot builds for windows (hopefully they will be in windows installers for 0.16 release?).
which version exactly are you talking about? Do you mean the entire light/dark style sheets are missing or just a specific part of it?
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

Post by sgrogan »

jmaustpc wrote:which version exactly are you talking about? Do you mean the entire light/dark style sheets are missing or just a specific part of it?
I messed the packaging script for windows. I'm fixing now. Thanks for the heads up.
"fight the good fight"
User avatar
saso
Veteran
Posts: 1920
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

Post by saso »

sgrogan wrote:I messed the packaging script for windows. I'm fixing now. Thanks for the heads up.
just wanted in the same moment to replay that it seems like you have already taken care of the issue 8-)
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

Post by jmaustpc »

sgrogan wrote:
jmaustpc wrote:which version exactly are you talking about? Do you mean the entire light/dark style sheets are missing or just a specific part of it?
I messed the packaging script for windows. I'm fixing now. Thanks for the heads up.
Ah, I see.
Thanks for this fix ....and of course all your other work. :)
User avatar
derei
Posts: 59
Joined: Thu Dec 17, 2015 7:10 pm
Contact:

Re: Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

Post by derei »

Hy,

I tried to use this theme, but nothing happens.
I run Windows7 x64 with Freecad 0.16 rev.6698

Steps:
1. I downloaded the archive
2. Found the path of my freecad: C:\Program Files\FreeCAD 0.16\
3. inside "data" folder there was no "Gui" folder, so I had to create it. Also, inside "Gui" folder I had to create a "Stylesheets" folder
4. I copied content of archive ("images" folder + 6 .qss files + readme.md) into Stylesheets folder created above.
5. Started FreeCAD - it just started normally, nothing changed and I could not find any menu to change themes.

Thanks for any guidance you can offer.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

Post by triplus »

You will find the setting to apply desired stylesheet under:

Edit -> Preferences ... -> General -> Style sheet
User avatar
derei
Posts: 59
Joined: Thu Dec 17, 2015 7:10 pm
Contact:

Re: Dark and Light FreeCAD stylesheets (2.x, 3.x,...) and beyond

Post by derei »

Thank you, I was able to enable themes.

I noticed that icons in dark themes are set more apart from each others (in toolbars), than is on default theme. I tried to look into the theme file, I saw only a 2px padding in the Toolbar section, but setting that to zero did only a partial fix.

How can I set the toolbar to have the same "density" as in default theme? (see attached for details).
menus.jpg
menus.jpg (64.72 KiB) Viewed 2043 times
Post Reply