GithubHelp home page GithubHelp logo

Comments (19)

rdbende avatar rdbende commented on June 8, 2024 1

Do you mean the buttons in the red circle? ? It maybe because Windows10 doesn't have a correct Segoe UI font...

So they look like that even without your .option_add() call?

from sun-valley-ttk-theme.

rdbende avatar rdbende commented on June 8, 2024

The font of those buttons is definitely weird, but it's not the default, so something is working.

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

The font of those buttons is definitely weird, but it's not the default, so something is working.

Do you mean the buttons in the red circle? ? It maybe because Windows10 doesn't have a correct Segoe UI font...

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

Yes, I think.

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

It seems that the ttk.Button widget doean't follow the window.option_add("*font", ...)

from sun-valley-ttk-theme.

rdbende avatar rdbende commented on June 8, 2024

That's quite unlikely, because it does for me.
However, why don't you use a ttk.Style for configuring the font of the button? Is it not working either?

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

Yes.

from sun-valley-ttk-theme.

rdbende avatar rdbende commented on June 8, 2024

Can you show a screenshot with this line commented out, and another one with the font set to something other than Cascadia Mono?

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

image
image

from sun-valley-ttk-theme.

rdbende avatar rdbende commented on June 8, 2024

Wait, comparing these last two screenshots to the first one, it appears, that your font actually gets applied to those buttons, even though it looks a bit bad.

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

LOL, it is still the default font.

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

image
image

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

Seems that button doesn't follow the settings

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

image

forget to say that I am using sv_ttk 2.0 and after I upgrading to 2.5.3, It looks more bad
image

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

It seems that sv_ttk 2.0 still can show Seoge UI font correctly on Windows 10......

from sun-valley-ttk-theme.

rdbende avatar rdbende commented on June 8, 2024

after upgrading to 2.5.3, it looks worse

In what aspect?

Seems that button doesn't follow the settings

What settings? You just proved, that adding

config.option_add("*font", ("Cascadia Mono", 9))

actually changes the font:

With default font
image

with your Cascadia Mono font:

image

from sun-valley-ttk-theme.

rdbende avatar rdbende commented on June 8, 2024

It seems that sv_ttk 2.0 still can show Seoge UI font correctly on Windows 10......

I can't understand why the same font is called differently on Windoze 10 and 11
Will fix that.

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

after upgrading to 2.5.3, it looks worse

In what aspect?

Seems that button doesn't follow the settings

What settings? You just proved, that adding

config.option_add("*font", ("Cascadia Mono", 9))

actually changes the font:

With default font image

with your Cascadia Mono font:

image

No, actually, it is still the consola font with the latest screenshot.

from sun-valley-ttk-theme.

littlewhitecloud avatar littlewhitecloud commented on June 8, 2024

Any font will fail to apply the button not only cascadia mono font

from sun-valley-ttk-theme.

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.