Weird UI on Sketcher task panel when using stylesheets

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Weird UI on Sketcher task panel when using stylesheets

Post by adrianinsaval »

Sketcher's constraint and element list widgets where reworked by paddle (a big improvement over the previous UI IMO), it looks very well when not using stylesheets:
Screenshot_20221202_222016.png
Screenshot_20221202_222016.png (16.29 KiB) Viewed 949 times
but as soon as you enable one of the built-in stylesheets things get weird, ProDark as an example but the same happens with most or all of them:
Screenshot_20221202_221628.png
Screenshot_20221202_221628.png (14.31 KiB) Viewed 949 times
  • the eye button is taller for some reason
  • the filters menu has a weird border
  • the settings button is not wide enough to show the icon properly
anybody experienced in stylesheets knows what's up and how to fix it?
User avatar
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Weird UI on Sketcher task panel when using stylesheets

Post by -alex- »

adrianinsaval wrote: Sat Dec 03, 2022 1:57 am anybody experienced in stylesheets knows what's up and how to fix it?
I'm not so experienced, however you could test the behavior on your system by replacing actual style sheets by the old ones (previously to changes made on last July 22)?
Here are old style sheets:
https://forum.freecadweb.org/viewtopic. ... 81#p644281
Just my 2cts.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Weird UI on Sketcher task panel when using stylesheets

Post by adrianinsaval »

No difference, that change is unrelated as it seems to be only about the menu icons.
Post Reply