Hi All,

To restrict minimum size of form, I wrote following code.

PUBLIC SUB Form_Resize()
   IF FMain.Height < 300 THEN
      FMain.Height = 300
   ENDIF
END

But this works only once with gb.gtk.
It seems 2nd and later resize method ignored.)

It works fine with gb.qt.

I'm running gambas-2.21.0 with gnome-2.30.2, gtk-2.20, qt-3.3.8.

Possibly a bug in gb.gtk? (of course I'm not sure;)

Thanks,
-- 
--------------------------------------
Kazutaka HARADA
  e-mail:kazutaka...@yahoo.co.jp
--------------------------------------


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to