[Gambas-user] form.resize works only once with gb.gtk

HARADA Kazutaka kazutaka802 at ...1907...
Sat Aug 7 21:10:53 CEST 2010


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:kazutaka802 at ...1907...
--------------------------------------





More information about the User mailing list