| | |
Tk padding problem
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
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!
•
•
Join Date: Dec 2006
Posts: 1,065
Reputation:
Solved Threads: 299
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.
![]() |
Similar Threads
- floating problem (HTML and CSS)
- Font Size Problem (PHP)
- help with shell script padding files with spaces (Shell Scripting)
- Padding and margins (HTML and CSS)
- H1 tag problem. (Site Layout and Usability)
- Problem with moving integers to a single formatted string (C)
Other Threads in the Python Forum
- Previous Thread: Have i done this Half-Adder correctly?
- Next Thread: Redirect(link) code in Python
| Thread Tools | Search this Thread |
Tag cloud for Python
ansi assignment avogadro backend beginner binary bluetooth character cmd code customdialog data decimals dictionary drive dynamic error examples excel exe file float format ftp function gnu graphics gui heads homework http ideas import input java leftmouse line linux list lists logging loop module mouse newb number numbers output parsing path pointer port prime program programming progressbar projects push py2exe pygame pyqt python random recursion recursive refresh schedule screensaverloopinactive script scrolledtext sqlite ssh statistics stdout string strings sudokusolver sum table terminal text thread threading time tkinter tlapse tricks tuple tutorial ubuntu unicode update urllib urllib2 variable wikipedia windows write wxpython xlib






