Comments (19)
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.
The font of those buttons is definitely weird, but it's not the default, so something is working.
from sun-valley-ttk-theme.
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.
Yes, I think.
from sun-valley-ttk-theme.
It seems that the ttk.Button
widget doean't follow the window.option_add("*font", ...)
from sun-valley-ttk-theme.
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.
Yes.
from sun-valley-ttk-theme.
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.
from sun-valley-ttk-theme.
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.
LOL, it is still the default font.
from sun-valley-ttk-theme.
from sun-valley-ttk-theme.
Seems that button doesn't follow the settings
from sun-valley-ttk-theme.
forget to say that I am using sv_ttk 2.0 and after I upgrading to 2.5.3, It looks more bad
from sun-valley-ttk-theme.
It seems that sv_ttk 2.0 still can show Seoge UI font correctly on Windows 10......
from sun-valley-ttk-theme.
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 your Cascadia Mono
font:
from sun-valley-ttk-theme.
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.
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 your
Cascadia Mono
font:
No, actually, it is still the consola font with the latest screenshot.
from sun-valley-ttk-theme.
Any font will fail to apply the button not only cascadia mono font
from sun-valley-ttk-theme.
Related Issues (20)
- Pixelated/dithered widgets issue. HOT 7
- Create website and docs
- File selection box unreadable on X11 with dark ttk theme HOT 5
- [Question]: How did you make a dark theme toggle? Was it a widget or an image button? HOT 2
- Optimize tile sizes for Windows and macOS
- Remove `set_theme` function hack
- Improve font detection
- Menubar colour HOT 1
- Remove four black dots at the corners of the button HOT 4
- How to add the switch?? HOT 1
- Problem withdraw() deiconify()
- Make a script to export individual SVGs HOT 6
- Tcl App: `unknown color name "$colors(-selfg)"` HOT 3
- How do I modify this? HOT 1
- Open frame destroy frame and apply the theme HOT 6
- Theme/style not applied to Toplevel Widget HOT 2
- Is there anyway to make the button show the icon's color? HOT 4
- Add hack HOT 3
- module 'tkinter' has no attribute '_get_default_root' HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sun-valley-ttk-theme.