Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Effect of the 'Sizeable' property #122

Open
rchastain opened this issue Jan 2, 2023 · 3 comments
Open

Effect of the 'Sizeable' property #122

rchastain opened this issue Jan 2, 2023 · 3 comments

Comments

@rchastain
Copy link

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?

@fredvs
Copy link
Contributor

fredvs commented Jan 3, 2023

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)

@rchastain
Copy link
Author

Hello Fred! Thank you very much.

@graemeg
Copy link
Owner

graemeg commented Jan 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants