graemeg / fpGUI

fpGUI Toolkit is a cross-platform GUI toolkit using Free Pascal

Home Page:http://fpgui.sourceforge.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Effect of the 'Sizeable' property

rchastain opened this issue · comments

In examples/gui/animation/anim_test.lpr, I see this code:

procedure TMainForm.AfterCreate;
begin
  // ...
  Sizeable := False;

But the application is sizeable (tested on Linux). Is that property broken, or do I wrongly understand its meaning?

Hello Roland.

It seems that Sizeable := False; only works for Windows, on Linux there is no effect.
See my answer on Eschecs issue https://gitlab.com/rchastain/eschecs/-/issues/43#note_1225640386

Also on Windows property OnResize := @OnResized; is not executed when a window is resized. (but ok on Linux)

Hello Fred! Thank you very much.

Thank you Roland, it is definitely a regression error. I'll take a look.