Re: [lazarus] wincontrol align bug

2007-12-09 Thread Giuliano Colla
Mattias Gaertner ha scritto: Can you send me the test example? Please find at: http://www.copeca.it/colla/align.tar.bz2 the sources of the test example. I've left there also the executables, compiled with r 13218, which shows the wrong behavior, and with r 13240 which shows the correct b

Re: [lazarus] wincontrol align bug

2007-12-09 Thread Giuliano Colla
Mattias Gaertner ha scritto: Can you send me the test example? It's rather large and requires the installation of extra packages to run. I'd rather avoid you losing time in things not related to the problem. I'll try to extract just the relevant part. If I make it, I'll send you something m

Re: [lazarus] wincontrol align bug

2007-12-09 Thread Mattias Gaertner
On Sun, 09 Dec 2007 01:36:59 +0100 Giuliano Colla <[EMAIL PROTECTED]> wrote: > Giuliano Colla ha scritto: > >> The FBaseBounds are sometimes wrong in 0.9.24. This has been fixed > >> in svn. > >> Did you test with the current 0.9.25? > >> > >> > > Yes. I saw no changed behavior since r 12699 un

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Giuliano Colla
Giuliano Colla ha scritto: The FBaseBounds are sometimes wrong in 0.9.24. This has been fixed in svn. Did you test with the current 0.9.25? Yes. I saw no changed behavior since r 12699 until your modified it in r 13219. However, as I have an app which shows the problem, I can try to trace w

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Giuliano Colla
Mattias Gaertner ha scritto: On Sat, 08 Dec 2007 19:31:17 +0100 Giuliano Colla <[EMAIL PROTECTED]> wrote: Mattias Gaertner ha scritto: [...] Both solutions have their pros and cons. To use the current order (e.g. comparing Left instead of FBaseBounds.Left) is less stable, but more Delp

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Mattias Gaertner
On Sat, 08 Dec 2007 19:31:17 +0100 Giuliano Colla <[EMAIL PROTECTED]> wrote: > Mattias Gaertner ha scritto: > [...] > > Both solutions have their pros and cons. To use the current order > > (e.g. comparing Left instead of FBaseBounds.Left) is less stable, > > but more Delphi compatible. > > I chan

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Giuliano Colla
Mattias Gaertner ha scritto: [...] Both solutions have their pros and cons. To use the current order (e.g. comparing Left instead of FBaseBounds.Left) is less stable, but more Delphi compatible. I changed it. Please test. Tested. Works fine, thank you. But if the other way around was better

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Mattias Gaertner
On Fri, 07 Dec 2007 20:27:06 +0100 Giuliano Colla <[EMAIL PROTECTED]> wrote: > Giuliano Colla ha scritto: > > I resumed after some time our core application which I'm trying to > > migrate to Lazarus, and to my dismay I discovered that align > > doesn't work anymore as it should and used to. > >

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Giuliano Colla
Andrew Haines ha scritto: Giuliano Colla wrote: I resumed after some time our core application which I'm trying to migrate to Lazarus, and to my dismay I discovered that align doesn't work anymore as it should and used to. [...] A workaround I've found is to set the first component

Re: [lazarus] wincontrol align bug

2007-12-07 Thread Andrew Haines
Giuliano Colla wrote: > I resumed after some time our core application which I'm trying to > migrate to Lazarus, and to my dismay I discovered that align doesn't > work anymore as it should and used to. > I have a panel with a number of widget. Two are top aligned, the others > are bottom aligned.

Re: [lazarus] wincontrol align bug

2007-12-07 Thread Giuliano Colla
Giuliano Colla ha scritto: I resumed after some time our core application which I'm trying to migrate to Lazarus, and to my dismay I discovered that align doesn't work anymore as it should and used to. I have a panel with a number of widget. Two are top aligned, the others are bottom aligned. B

[lazarus] wincontrol align bug

2007-12-07 Thread Giuliano Colla
I resumed after some time our core application which I'm trying to migrate to Lazarus, and to my dismay I discovered that align doesn't work anymore as it should and used to. I have a panel with a number of widget. Two are top aligned, the others are bottom aligned. But setting alTop to one of t