Problems with grid() layout under tkinter

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas Jansson

    #1

    Problems with grid() layout under tkinter

    Dear all

    I am trying to make a small wrapper program for textbased program and
    it is going well but I have one problem. Namely that I simply do not
    understand how this grid thing work. I have assigned every widget a
    specific placement in a grid but when I am running the program it
    looks very strange. I hope you can help me.

    A example of the program

    and the code


    Kind regards
    Thomas Jansson

  • Thomas Jansson

    #2
    Re: Problems with grid() layout under tkinter

    I found the error - some of the widgets belonged to "master" and some
    to "frame". So glad I found that Error - that took forever! :D

    Kind regards
    Thomas Jansson

    On 11 Maj, 23:06, Thomas Jansson <tjansso...@gma il.comwrote:
    Dear all
    >
    I am trying to make a small wrapper program for textbased program and
    it is going well but I have one problem. Namely that I simply do not
    understand how this grid thing work. I have assigned every widget a
    specific placement in a grid but when I am running the program it
    looks very strange. I hope you can help me.
    >
    A example of the programhttp://tjansson.dyndns .dk/apache2-default/strange-grid.jpg
    and the codehttp://tjansson.dyndns .dk/tjansson/gui.py
    >
    Kind regards
    Thomas Jansson

    Comment

    Working...