From: <cl...@us...> - 2003-09-28 00:06:29
|
Update of /cvsroot/todo-manager/todo-manager In directory sc8-pr-cvs1:/tmp/cvs-serv14113 Modified Files: interface.py Log Message: A few small changes to get the interface to look a little better when it is resized. Index: interface.py =================================================================== RCS file: /cvsroot/todo-manager/todo-manager/interface.py,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- interface.py 21 Jun 2003 15:09:43 -0000 1.48 +++ interface.py 27 Sep 2003 20:17:01 -0000 1.49 @@ -153,7 +153,10 @@ self._groupList = Label(self._extrasframe, bd=0, width=0) self._groupList.grid() self._groupScroll = None - self._extrasframe.grid(row=1, column=0, sticky=NW) + + self._extrasframe.grid_rowconfigure(0, weight=1) + self._extrasframe.grid_rowconfigure(1, weight=1) + self._extrasframe.grid(row=1, column=0, sticky=NS) # Tasklist self._taskList = tl = ObjectListbox(frame, bd=0, background='white', relief=FLAT, @@ -337,13 +340,13 @@ if self.__view_calendar.get(): self._calendar = Calendar(self._extrasframe, bd=2, relief=SUNKEN, bg='white', command=self.OnCalendarSelectDate) - self._calendar.grid(row=0, sticky=W) + self._calendar.grid(row=0, sticky=NW) # Calendar filter checkbutton self._calFilter = Checkbutton(self._extrasframe, text=_("Only show tasks due on\nthe selected date."), justify=LEFT, variable=self.__calendar_filter) - self._calFilter.grid(row=1, sticky=W) + self._calFilter.grid(row=1, sticky=NW) else: # A blank label to force self._extrasframe to shrink down after the # calendar has been removed |