Python Forum
[Tkinter] Text Button - How Do I Reduce The Margin?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Text Button - How Do I Reduce The Margin?
#7
you need to set your padding.
padding internal to widget is padx, pady
padding outside of widget is controlled by ipadx, ipady in a grid or pack command
Reply


Messages In This Thread
RE: Text Button - How Do I Reduce The Margin? - by Larz60+ - Apr-27-2020, 10:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't change the colour of Tk button text Pilover 6 14,841 Nov-15-2022, 10:11 PM
Last Post: woooee
  [Tkinter] Make my button text update? Skata100 1 2,047 Aug-07-2021, 05:37 AM
Last Post: deanhystad
  Tkinter reduce OptionMenu height euras 2 4,689 May-25-2021, 09:14 PM
Last Post: euras
  Updating button text based upon different variable values knoxvilles_joker 0 2,249 Apr-18-2021, 04:13 AM
Last Post: knoxvilles_joker
  tkinter | Button color text on Click Maryan 2 3,407 Oct-09-2020, 08:56 PM
Last Post: Maryan
  How to make button text bold in Tkinter? scratchmyhead 2 12,105 May-16-2020, 02:53 AM
Last Post: scratchmyhead
  [PySimpleGui] How to alter mouse click button of a standard submit button? skyerosebud 3 5,044 Jul-21-2019, 06:02 PM
Last Post: FullOfHelp
  Text after push button chano 13 5,443 Jul-05-2019, 03:10 PM
Last Post: Yoriz
  [Tkinter] how do i add a margin to a Listbox DT2000 27 18,102 May-14-2019, 04:07 AM
Last Post: DT2000
  Set input text from button gio123 1 2,829 Mar-01-2018, 10:28 AM
Last Post: gio123

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020