Giter Site home page Giter Site logo

Comments (8)

maxwxyz avatar maxwxyz commented on May 28, 2024

@realthunder could you support here?

from freecad.

MisterMakerNL avatar MisterMakerNL commented on May 28, 2024

I don't get this background. Why not remove it?

from freecad.

kadet1090 avatar kadet1090 commented on May 28, 2024

I don't get this background. Why not remove it?

Readability, models can have different color, have multiple lines etc so only way to ensure that tree items are easily readable in all scenarios is to provide background for items that will have good contrast against text and hide distracting stuff like lines fighting for attention around text.

from freecad.

MisterMakerNL avatar MisterMakerNL commented on May 28, 2024

Thats why Realthunder added the text effect.
If applied gently it's hardly vissible, but it does work.

from freecad.

kadet1090 avatar kadet1090 commented on May 28, 2024

It does not work well enough as with busy model it still is not readable enough, at least for me.

from freecad.

MisterMakerNL avatar MisterMakerNL commented on May 28, 2024

Could you try the new added overlay stylesheets?
I had no issues, but also don't think much people tried it.

from freecad.

kadet1090 avatar kadet1090 commented on May 28, 2024

People have different tolerance for things being readable or not, depending on various factors. Realthunder implemented it (but remember, that he also implemented other options - including one with background) in the same way as movie captions are done - white text with black outline so it should be readable in every scenario. Unfortunately this effect is mostly effective with big text (bigger outline separating text from the rest of the picture), while we deal with small fonts. In our case we can also get a lot of lines with similar thickness in small area making it very busy and so needing more brain power to process it, requiring to focus on that particular area instead of being able to quickly scan it. I don't mind making the background optional - if for somebody background is distracting (which totally could be the case), I do however mind taking away option of having it.

This is not a thread for this discussion anyway, so let's not go off-topic anymore.

from freecad.

kadet1090 avatar kadet1090 commented on May 28, 2024

I managed to fix the issue, writeup on how: https://stackoverflow.com/questions/78414383/qt6-disable-drawing-of-default-background-for-qtreeview-items/78421604#78421604

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.