Code Monkey home page Code Monkey logo

Comments (2)

RedFantom avatar RedFantom commented on September 24, 2024

a490457 contains changes to four lines of code that implement overrides for the state images of CheckboxTreeview, I think that is a good addition. However, I don't quite understand how the shadows make it harder to tell the differences between images. Could you perhaps elaborate on this a bit more?

Tkinter indeed does not offer HiDPI scaling by default, but there are methods to achieve scaling. However, if you do make new images and they can be licensed under GNU GPLv3, please do open a PR, as the addition of new images for HiDPI monitors would be a good enhancement.

from ttkwidgets.

WinEunuuchs2Unix avatar WinEunuuchs2Unix commented on September 24, 2024

@RedFantom I regret suggesting image shadows should be removed. Now I think they are fine. I did write code to generate new images on the fly as font size is increased for HiDPI monitors. I posted the solution in Stack Overflow: CheckboxTreeview() - scale size of checkboxes, change colors. At the same time I allowed changing checkbox outline color, fill color and checked / tristate color. An enhancement to this code would be options for style of check mark and tristate. Another enhancement would be the creation of shadows.

Sorry for delay in replying. I didn't get an email there was a comment here. gmail sends mail to "Forums" folder instead of in-box.

from ttkwidgets.

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.