|
From: Michael K. <mi...@mu...> - 2005-03-15 01:08:04
|
On Mon, 14 Mar 2005, Brian Griffin wrote: > What I meant by "my experience" is that I looked at several non-Tk applications and this is the behavior I saw. I believe most, if not > all, were 3 pane style layout, where two of the panes would grow/shrink proportionally to their starting size. FWIW, the paned windowing setup I use with MIB Smithy works like this: 1. There's a top pane and a bottom pane. 2. Each of these are split into left/right. 3. Each can be shown or hidden by the user by selecting options from the View menu. 4. When you resize the window, each pane is given exactly the same percentage of the window it had before the resize. So if you have the sash halfway between the left and right edges (left/right panes each currently have 50% of the window) and you maximize the window, they still each have half the width of the window. If it's 1/4 the window's width in from the left before resize, it'll be 1/4 of the new size in from the left after resize. Is this right? I dunno, but that's what I do currently. :) As long as you don't have to go through hoops to prevent resizing a window smaller from completely obscuring a pane and its sash (a la Tk 8.4.*) I think I'm fine with whatever method is used. -- Michael Kirkham www.muonics.com |