For those who are  interested : 
http://sourceforge.net/tracker/index.php?func=detail&aid=1731101&group_id=12883&atid=312883

KKRT


On Mon, Jun 04, 2007 at 08:09:32PM +0200, Sander Hoentjen wrote:
> hey, did you report this upstream?
> 
> On Mon, 2007-06-04 at 01:46 -0700, [EMAIL PROTECTED] wrote:
> > Revision: 8815
> >           http://svn.sourceforge.net/amsn/?rev=8815&view=rev
> > Author:   kakaroto
> > Date:     2007-06-04 01:46:34 -0700 (Mon, 04 Jun 2007)
> > 
> > Log Message:
> > -----------
> > Now I understand what the fsck the problem was with the scrollableframe. 
> > This should fix the issue.
> > Problem was that when the frame was configured, the scrollregion was set to 
> > the canvas area, but when we resize, the frame doesn't get configured, only 
> > the canvas, so the binding doesn't get called (since the frame doesn't 
> > change, so the scrollregion is kept to the old canvas region).
> > With this, we make sure the scrollregion is of the same size as the frame, 
> > so if the scrollregion ever needs to be changed, it would only be when the 
> > frame is changed, and in that case, the _frameConfigure binding will get 
> > called and will reset the scrollregion.
> > 
> > Modified Paths:
> > --------------
> >     trunk/amsn/utils/bwidget1.8.0/scrollframe.tcl
> > 
> > Modified: trunk/amsn/utils/bwidget1.8.0/scrollframe.tcl
> > ===================================================================
> > --- trunk/amsn/utils/bwidget1.8.0/scrollframe.tcl   2007-06-03 18:03:52 UTC 
> > (rev 8814)
> > +++ trunk/amsn/utils/bwidget1.8.0/scrollframe.tcl   2007-06-04 08:46:34 UTC 
> > (rev 8815)
> > @@ -222,5 +222,6 @@
> >      if {[winfo width $frame] < [winfo width $canvas]} {
> >     set width [winfo width $canvas]
> >      }
> > -    $canvas:cmd configure -scrollregion [list 0 0 $width $height]
> > +    puts "configured"
> > +    $canvas:cmd configure -scrollregion [$canvas:cmd bbox all]
> >  }
> > 
> > 
> > This was sent by the SourceForge.net collaborative development platform, 
> > the world's largest Open Source development site.
> > 
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Amsn-commits mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/amsn-commits
> > 
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to