GithubHelp home page GithubHelp logo

Comments (3)

sjaehn avatar sjaehn commented on May 29, 2024

Right this is a known problem and I don't have a quick fix. The problem I created (yes, I feel guilty): as all sliders use the same font color. No matter what's the color of the slider. So it will be the same text color for red, green, yellow or white sliders. And it will be the same text color if the text is over the bar fill or over the dark background. Yes, there would be fancier ways to solve this.

Anyway, I tried to find the best compromise. But sometimes (like in the black/white sliders) it's really hard to read. I admit.

I'm just playing around with some fine tuning of colors and font weight. I'll come up soon with some quick results.

from boops.

sjaehn avatar sjaehn commented on May 29, 2024

Quick fix: 49ce8db
Only minor improvement. I hope it's sufficient. More advanced methods to display the text over the slider bar may include shadowed text or outlined text or changing text colors depending on the background pixel. But all of them are a bit tricky to realize in combination with the editable value text. Unless I want to rewrite the old BWidgets::Label. And I don't want it.

from boops.

hellocatfood avatar hellocatfood commented on May 29, 2024

Thanks, this'll do for now but would definitely be better to find a permanent solution

from boops.

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.