943,748 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Unsolved
  • Views: 429
  • Python RSS
Feb 12th, 2009
0

Tk padding problem

Expand Post »
hey everyone. i am writing a program in python w/ Tkinter and ran into a problem with padding. So, i have a Label object named DataPool_Text. when I run it (side=TOP), it goes to the top middle of the screen. I know how to use padx, but what would I do if i wanted it to go to the left? padx can't except negative numbers... thanks in advanced!
Similar Threads
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
besktrap is offline Offline
58 posts
since Jul 2008
Feb 12th, 2009
0

Re: Tk padding problem

If you are using pack(), not grid, then you want side=LEFT. See this tutorial http://effbot.org/tkinterbook/pack.htm
Last edited by woooee; Feb 12th, 2009 at 11:37 pm.
Reputation Points: 741
Solved Threads: 692
Nearly a Posting Maven
woooee is offline Offline
2,305 posts
since Dec 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: Have i done this Half-Adder correctly?
Next Thread in Python Forum Timeline: Redirect(link) code in Python





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC