window resize and hpanned separator position control

2007-10-29 Thread Alex Nekorkin
Hello All, Could anyone tell me, how to make hpanned separator to be positioned in a special way depending on the new window size? The thing I need is child1 size to be initially equal to [(newwinheight-85)*4/3, newwinheight-17], when window is just resized.

Re: window resize and hpanned separator position control

2007-10-29 Thread jcupitt
On 10/29/07, Alex Nekorkin [EMAIL PROTECTED] wrote: Could anyone tell me, how to make hpanned separator to be positioned in a special way depending on the new window size? I've not tried, but I imagine you just need to add a configure_event handler to see the new window width and height, and

Re: window resize and hpanned separator position control

2007-10-29 Thread Alex Nekorkin
Thanks a lot! Could anyone tell me, how to make hpanned separator to be positioned in a special way depending on the new window size? I've not tried, but I imagine you just need to add a configure_event handler to see the new window width and height, and set the pane position in that.