On Thursday, 6 December 2018 07:02:50 UTC, Paulo da Silva wrote:
> Hi!
>
> Does anybody know why this code does not expand the text widget when I
> increase the window size (with mouse)? I want height and width but as
> minimum (or may be initial) size.
>
> import tkinter as tk
>
> class App:
>
Às 07:11 de 07/12/18, Christian Gollwitzer escreveu:
> Am 07.12.18 um 03:00 schrieb Paulo da Silva:
>> Às 21:15 de 06/12/18, Rick Johnson escreveu:
...
> So instead of complaining about lacking support in Tk, the
> Python community should do their homework and provide wrappers to the
> most c
Am 07.12.18 um 03:00 schrieb Paulo da Silva:
Às 21:15 de 06/12/18, Rick Johnson escreveu:
I kinda have a love/hate relationship with Tkinter and IDLE.
On one hand i find them to be practical[2] and simple[3] and
on the other, i find them to be poorly designed and
unintuitive. And it's a rea
Às 21:15 de 06/12/18, Rick Johnson escreveu:
> Paulo da Silva wrote:
>
...
>
> In Tkinter, if you have a "container"[1] that only has a
> single widget stuffed inside, and, you want that single
> widget to expand to fill the extents of its parent
> container, then, the pack geometry manager is t
Às 08:24 de 06/12/18, Peter Otten escreveu:
> Paulo da Silva wrote:
>
...
>
> You have to set the column/row weight of the /master/:
>
> master.grid_columnconfigure(1, weight=1)
> master.grid_rowconfigure(1, weight=1)
Ok. That works!
>
> Also, columns and rows usually star
Paulo da Silva wrote:
> Does anybody know why this code does not expand the text widget when I
> increase the window size (with mouse)? I want height and width but as
> minimum (or may be initial) size.
>
> import tkinter as tk
>
> class App:
> def __init__(self,master):
> self.tboar
Hi!
Does anybody know why this code does not expand the text widget when I
increase the window size (with mouse)? I want height and width but as
minimum (or may be initial) size.
import tkinter as tk
class App:
def __init__(self,master):
self.tboard=tk.Text(master,height=