Comments (5)
This has nothing to do with the icon. As a general solution, changing the icon according to the text color. Also, the eye suggested by Kadet is obviously better.
from freecad.
As a general solution, changing the icon according to the text color.
I agree, but Kadets code suffer pixelation on my Setup (4k). This needs to be addressed before chaging it.
Also, the eye suggested by Kadet is obviously better.
That is a matter of opinion not fact and thats why this issue exists. I'm not against the icon change.
The transparent background inside of the icon makes the lines look to thin in the overlay mode. This could be fixed with a solid background on the inside. Or the generated outline needs to fill it, but this might not be easily possibe.
There are a lot of possible style variants and it might not be possible to support all of them without a lot of work to provide alternative icons by theme.
These setting with Kadets patch
look like this after a restart:
In my opinion this does not look good.
I don't know if there is an official list of style settings that should be considered, but at least the three options from the start assistant should look and work ok, ideally with and without overlay mode.
from freecad.
This is strange - in that case the eye icon should be black as the text is also black - then the icon looks as good as the text does. I'll check why this is the case. As the alternative I can add white fill to the icon so it will still have constant stroke that should help. I however agree that this can be done in another PR.
As for the pixelation - try changing QSize to (32, 32)
that should help with the pixelation - I'm not able to test with 4k.
from freecad.
It seems that changing the themes in the preferences does not always change the style correctly.
Between changing the style in the preference window and restarting some parts seem to look different, but I have not investigated it.
It's not only the icon but also the outline of the text. There could be other bugs that are the culprit and not your code.
from freecad.
I have some merge issues in my darkstyle PR which stops me from checking this out.
OVerlay code for the text color has also moved from Qwidget to Qtreeview, so maybe it fixes something here.
from freecad.
Related Issues (20)
- Errors/Warnings/Msgs without any reference to track for the problematic object. HOT 2
- Assembly: FreeCAD closes unexpectedly when moving an assembler HOT 5
- Draft: Property container has no property 'DiffuseColor'
- Assembly: Grounded part can be dragged.
- PartDesign: Pad QListWidget signal not found HOT 4
- Right-click menu (Quality of life, working speed) HOT 1
- Part editing instant side panel (great quality of life) HOT 1
- show start page option
- empty recent files HOT 2
- highlight initial theme state on fresh freecad install HOT 2
- Tree view highlight state obscures content in Classic theme HOT 4
- BIM Box is always built in the -Z direction HOT 1
- The acceleration key is not replaced when replacing a macro.
- Improving the usability of working with the workplane (suggestion) HOT 1
- Strange behavior of the Trimex tool HOT 3
- Feature Request: call expression editor with on-view parameters
- Part Design - creating a feature hides the previous model HOT 4
- Computing position for ShapeString from Shape.BoundBox.XLength does not automatically or manually update HOT 2
- Seeing reason why the toolbar buttons are disabled HOT 1
- Part Design : Error when circle sketch pad intersects a previous helical substraction HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freecad.