Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/gui
In directory usw-pr-cvs1:/tmp/cvs-serv20395/src/lib/dynapi/gui

Modified Files:
        label.js 
Log Message:
Pushpanel should work now. There was a small bug in label.js. Still NS6 is driving me 
nuts.

Index: label.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/gui/label.js,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** label.js    2001/03/27 15:34:27     1.14
--- label.js    2001/03/28 10:21:00     1.15
***************
*** 22,26 ****
        this.selectable = true;
        this.setText(text);
!       // Ns6 hack.
        this.first = true
  
--- 22,26 ----
        this.selectable = true;
        this.setText(text);
!       // Ns6 hack
        this.first = true
  
***************
*** 38,44 ****
                if (o.created) {
                        if(is.ns&&o.wrap) o.setText(o.text)
!                       // :(
!                       if(is.ns6 && o.first) {o.first=false;return }
!                       if(o.getWidth()!=null)o.pack(o.wrap&&o.pWidth,o.pHeight)
                }
        };
--- 38,43 ----
                if (o.created) {
                        if(is.ns&&o.wrap) o.setText(o.text)
!                       if(is.ns6&&o.first) {o.first=false;return}
!                       
o.pack((o.getWidth()==null)||(o.wrap&&o.pWidth),o.getHeight()==null||o.pHeight)
                }
        };


_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs

Reply via email to