Giter Site home page Giter Site logo

Comments (5)

Reqrefusion avatar Reqrefusion commented on July 22, 2024

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.

NomAnor avatar NomAnor commented on July 22, 2024

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
pref
look like this after a restart:
overlay

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.

kadet1090 avatar kadet1090 commented on July 22, 2024

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.

NomAnor avatar NomAnor commented on July 22, 2024

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.

MisterMakerNL avatar MisterMakerNL commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.