2008/5/6 Garth Corral <[EMAIL PROTECTED]>:
>
> On May 5, 2008, at 10:40 PM, Garth Corral wrote:
> >
> > Indeed, I believe that is my fault and you have my sincerest
> > apologies. I did add a minsize to the pgn window precisely for the
> > reason that I stated, the window collapsed due to no other UI
> > elements. Perhaps I should have set the geometry explicitly instead.
> > Sorry about that.
> >
> Geometry management appears to be one area where windows, X11 and Aqua
> behave a bit differently. Giving a geometry hint seems to work for me
> with my window manager. Your mileage may vary. I wasn't seeing this
> problem at all on OS X as it seems to completely ignore the minsize
> hint.
>
>
> --- tcl/windows/pgn.tcl 5 May 2008 19:15:56 -0000 1.3
> +++ tcl/windows/pgn.tcl 6 May 2008 07:33:40 -0000
> @@ -48,7 +48,6 @@
> return
> }
> set w [toplevel .pgnWin]
> - wm minsize $w 65 20
> setWinLocation $w
> bind $w <Configure> "recordWinSize $w"
>
> @@ -196,6 +195,7 @@
>
> $w.text tag add Current 0.0 0.0
> ::pgn::ResetColors
> + wm geometry $w =65x20
> }
>
The solution is to simply ask PGN window to save/restore its size : it used
to save its geometry layout, but forgot to restore it. So it is sufficient
to add
setWinSize $w
instead of any "wm minsize ..."
I will commit the change.
Pascla
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users