Changeset df37f8482406e455b5a03c8382cad2372571adc4

Show
Ignore:
Timestamp:
12/02/07 21:33:15 (1 year ago)
Author:
Jason Michalski <armooo@armooo.net>
git-committer:
Jason Michalski <armooo@armooo.net> 1196652795 -0600
git-parent:

[2a6af8566dd5c3e6303d6db7d6efd7aecddadd2b]

git-author:
wmcbrine <wmcbrine@gmail.com> 1196652795 -0600
Message:

Cleaned up the configurator GUI

This just changes the packing of some widgets... looks much better, at least on my Linux system, and makes better use of the space, especially when expanding the window.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pyTivoConfigurator.py

    r5bf1bd3 rdf37f84  
    88        def buildContainerList(self): 
    99            frame = Frame(self) 
    10             frame.pack(fill=Y, expand=1) 
     10            frame.pack(fill=BOTH, expand=1) 
    1111            scrollbar = Scrollbar(frame, orient=VERTICAL) 
    1212            self.container_list = Listbox(frame, yscrollcommand=scrollbar.set) 
     
    2525 
    2626        def buildButtons(self): 
    27             frame = Frame(
    28             frame.pack(fill=Y, expand=1
     27            frame = Frame(self
     28            frame.pack(fill=X
    2929 
    3030            save_button = Button(frame, text="Save", command=self.save) 
     
    5656        def buildPath(self): 
    5757            frame = Frame(self) 
    58             frame.pack(fill=Y, expand=1
     58            frame.pack(fill=X
    5959            l = Label(frame, text="Path") 
    6060            l.pack(side=LEFT) 
     
    6464 
    6565            self.path = Entry(frame) 
    66             self.path.pack(side=RIGHT, fill=Y, expand=1) 
     66            self.path.pack(side=RIGHT, fill=X, expand=1) 
    6767 
    6868 
     
    9999            Frame.__init__(self, master) 
    100100            self.master.title('pyTivoConfigurator') 
    101             self.pack(
     101            self.pack(fill=BOTH, expand=1
    102102 
    103103            import os