Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 690233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:24:53+00:00 2026-05-14T02:24:53+00:00

How do you change the font and font size in the themed button widget

  • 0

How do you change the font and font size in the themed button widget (ttk::button)?

ttk::button .x.buttonTEST -text "TEST" -font ??
# the -font option is not valid with ttk::button
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T02:24:54+00:00Added an answer on May 14, 2026 at 2:24 am

    The look of a ttk::button (in particular for you, its font, but other things too) is controlled exclusively through the style and theme. By setting up the style once, it becomes easy to apply it to many buttons (assuming that’s what you want).

    The simplest way to do this is to make a derived style, which is done by prepending some custom prefix onto an existing base style (TButton for buttons).

    # Once per style in your program...
    ttk::style configure MyExample.TButton -font {Symbol 48}
    
    # For each button you want that looks this way...
    ttk::button .b -font "Example" -style MyExample.TButton
    pack .b
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have UiTextView where I want change font size (increase), here code -(void)biggerFont:(UIBarButtonItem *)
Iam trying to change the font size in String.xml Helloworld ..am able to do
Hi I want to change the font size of the page incrementally with jQuery
I was searching for an html page, where i can acquire Font size of
I start off by creating a JTextArea of a specific size. The user can
I am using tablesorter 2.0 and I have been trying to override the css
<%@ Page Language=C# AutoEventWireup=true Theme=SF CodeBehind=ULLITest.aspx.cs Inherits=ClickDoors_WebApp.ULLITest %> <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
How do I access UITableViewController parameter from within a subclass'ed UITableViewCell ? I have
I use geoserver 2.0.1, I used textsymbolizer to labeling features on the map. It
I am writing a number of windows forms that require shared functionality. For example,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.