Changeset df37f8482406e455b5a03c8382cad2372571adc4
- 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
| r5bf1bd3 |
rdf37f84 |
|
| 8 | 8 | def buildContainerList(self): |
|---|
| 9 | 9 | frame = Frame(self) |
|---|
| 10 | | frame.pack(fill=Y, expand=1) |
|---|
| | 10 | frame.pack(fill=BOTH, expand=1) |
|---|
| 11 | 11 | scrollbar = Scrollbar(frame, orient=VERTICAL) |
|---|
| 12 | 12 | self.container_list = Listbox(frame, yscrollcommand=scrollbar.set) |
|---|
| … | … | |
| 25 | 25 | |
|---|
| 26 | 26 | def buildButtons(self): |
|---|
| 27 | | frame = Frame() |
|---|
| 28 | | frame.pack(fill=Y, expand=1) |
|---|
| | 27 | frame = Frame(self) |
|---|
| | 28 | frame.pack(fill=X) |
|---|
| 29 | 29 | |
|---|
| 30 | 30 | save_button = Button(frame, text="Save", command=self.save) |
|---|
| … | … | |
| 56 | 56 | def buildPath(self): |
|---|
| 57 | 57 | frame = Frame(self) |
|---|
| 58 | | frame.pack(fill=Y, expand=1) |
|---|
| | 58 | frame.pack(fill=X) |
|---|
| 59 | 59 | l = Label(frame, text="Path") |
|---|
| 60 | 60 | l.pack(side=LEFT) |
|---|
| … | … | |
| 64 | 64 | |
|---|
| 65 | 65 | self.path = Entry(frame) |
|---|
| 66 | | self.path.pack(side=RIGHT, fill=Y, expand=1) |
|---|
| | 66 | self.path.pack(side=RIGHT, fill=X, expand=1) |
|---|
| 67 | 67 | |
|---|
| 68 | 68 | |
|---|
| … | … | |
| 99 | 99 | Frame.__init__(self, master) |
|---|
| 100 | 100 | self.master.title('pyTivoConfigurator') |
|---|
| 101 | | self.pack() |
|---|
| | 101 | self.pack(fill=BOTH, expand=1) |
|---|
| 102 | 102 | |
|---|
| 103 | 103 | import os |
|---|