[ Fixed with PR7292 ] [ Issue #6102 ] Is there a default stylesheet for Windows?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
[ Fixed with PR7292 ] [ Issue #6102 ] Is there a default stylesheet for Windows?
Is there a default stylesheet, as a separate, file for Windows? This reason was given for closing Issue #6102. But AFAICT this file does not exist.
https://github.com/FreeCAD/FreeCAD/issues/6102
https://github.com/FreeCAD/FreeCAD/issues/6102
Last edited by Roy_043 on Mon Aug 01, 2022 2:25 pm, edited 1 time in total.
Re: [ Issue #6102 ] Is there a default stylesheet for Windows?
As far as i know are stylesheet's not system depended. So the default stylesheet for windows is the default stylesheet of FC.
Only thing i'm not sure of is that it is possible that QT have system depended drop down menu's etc...
Only thing i'm not sure of is that it is possible that QT have system depended drop down menu's etc...
Re: [ Issue #6102 ] Is there a default stylesheet for Windows?
A quick search is giving not more advices on stylesheet on windows, but in:
https://forum.qt.io/topic/78482/windows ... yle-for-qt
There is a discussion about this topic on the qt forum, see if it could help.
Regards
Carlo D.
https://forum.qt.io/topic/78482/windows ... yle-for-qt
There is a discussion about this topic on the qt forum, see if it could help.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: [ Issue #6102 ] Is there a default stylesheet for Windows?
IIRC that stuff is set in code, technically it is a qt stylesheet but it is not stored as a standalone qss file. Tbh I don't understand the bug report, how do you expect proper styling if you remove the used style dll?
Re: [ Issue #6102 ] Is there a default stylesheet for Windows?
The image in this comment clarifies the problem:
https://github.com/FreeCAD/FreeCAD/issu ... 1100674245
The frames (f.e. around "Viewing mode") are invisible if qwindowsvistastyle.dll is available.
So the goal is to have the 'modern' styling of the dll, but with clearly visible frames.
@uwestoehr can you reopen the issue please?
https://github.com/FreeCAD/FreeCAD/issu ... 1100674245
The frames (f.e. around "Viewing mode") are invisible if qwindowsvistastyle.dll is available.
So the goal is to have the 'modern' styling of the dll, but with clearly visible frames.
@uwestoehr can you reopen the issue please?
Re: [ Issue #6102 ] Is there a default stylesheet for Windows?
No this has nothing to do with misunderstanding.
This are the default FC stylesheets. FC don't have any other, what basically means FC use the default stylesheet of the operating system it is working on.
This are the default FC stylesheets. FC don't have any other, what basically means FC use the default stylesheet of the operating system it is working on.
Re: [ Issue #6102 ] Is there a default stylesheet for Windows?
These stylesheets come with FreeCAD, but, OOTB, FreeCAD relies on a built-in, hard-coded stylesheet (the "No style sheet" option in the preferences).
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: [ Issue #6102 ] Is there a default stylesheet for Windows?
Ok I get it now, it would probably been less confusing if your example to showcase the borders was just a regular stylesheet rather than renaming a dll. I agree the issue should be reopen, the actual issue is that the default windows styling is crap, I believe it is not the broders that get styled by freecad but rather the background and IIRC that is done in the task panel code, possibly inside and if windows block, if not then this is just qt's default style for windows. If you happen to find and edit that please ge rid of the god awful gradient too while you're at it
edit: after reading it actually I agree with uwe's take, better to create a new issue since the dll stuff has nothing to do and it's jut confusing.
edit: after reading it actually I agree with uwe's take, better to create a new issue since the dll stuff has nothing to do and it's jut confusing.