Re: fill, expand from tkinter.pack() layout manager

2014-11-04 Thread Fatih Güven
4 Kasım 2014 Salı 16:16:52 UTC+2 tarihinde ast yazdı: > Hi > > I dont really understood how "fill" and "expand" > works with layout manager tkinter.pack() > > Example: > > from tkinter import * > root = Tk() > w = Label(root, text="Red", bg="red", fg="white") > w.pack(side=LEFT, fill = BOTH) >

Re: fill, expand from tkinter.pack() layout manager

2014-11-04 Thread ast
"ast" a écrit dans le message de news:5458dfc6$0$27505$426a7...@news.free.fr... w.pack(side=LEFT, fill = BOTH) Why is the label "w" only extended vertically and not horizontally too ? with: w.pack(side=TOP, fill = BOTH) it expand horizontally but not vertically with: w.pack(side=LEFT, fil