Larger button text and tab text size
See original GitHub issueIs it possible to increase the ttk.Button
text size and ttk.Notebook
tab size while still using the standard ttkbootstrap
styling?
It seems like it should be an easy thing to achieve, but I can’t for the life of me figure out how.
Many thanks, Andrew
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Change the font size of a button with CSS - Tutorialspoint
To change the font size of a button, use the font-size property. You can try to run the following code to change the...
Read more >Make text and apps bigger - Microsoft Support
If the text size feels too small when navigating through Windows, you can make the text bigger. This affects, for example, title bars,...
Read more >how to Change font size, Without changing the size of button ...
To change the text size without changing the button size, you would need to fix the size of the button. This can be...
Read more >text-size-adjust - CSS: Cascading Style Sheets - MDN Web Docs
The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore ...
Read more >How to Increase Font Size in Chrome, Edge, Firefox, and Opera
Click the drop-down for Font size and select Large or Very Large to increase the text size. Click on the Customize fonts button...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes, you can configure the underlying ttk style.
Here is the starting example of a button with a success bootstyle applied.
To find the ttk style used by the widget:
Change the font size on all buttons with the widget style ‘success.TButton’
Change the font size on ONLY this button using a subclassed style
Change the font size on ALL buttons
Thanks @israel-dryer for the super quick and very helpful response. This is great!
I’ll close this issue as you’ve answered my question, but I also want to say a huge thanks for the development of the
ttkbootstrap
tool. Really excellent work.