[Lazarus] Testing 0.9.29

Martin lazarus at mfriebe.de
Sat Feb 19 16:34:10 CET 2011


On 19/02/2011 15:06, Mattias Gaertner wrote:
> On Sat, 19 Feb 2011 15:44:02 +0100
> Bo Berglund<bo.berglund at gmail.com>  wrote:
>
>> On Wed, 16 Feb 2011 21:01:30 +0100, Vincent Snijders
>> <vincent.snijders at gmail.com>  wrote:
>>
>>> 2011/1/15 Graeme Geldenhuys<graemeg.lists at gmail.com>:
>>>> When 0.9.30 fixes branch is updated, please give use some time to
>>>> re-test those changes before a release is made.
>>> I think the time is now.
>>>
>>> For people used to release candidates, consider the current 0.9.29
>>> snapshots to be 0.9.30RC2.
>>>
>>> Happy testing.
>>>
>> Now tested and found a minor bug in TLabel:
>> 1. Put label on form
>> 2. Set Alignment=taRightJustify and Autosize=true
>> 3. Enter text and observe that the label is still anchored on its
>> *left* hand side (expands to the right).
> What is the state of Anchors?
> If it is set to akLeft, then the behavior is correct.
>
>
>> In Delphi labels that have taRightJustify will automatically
>> expand/contract on the left side so the right edge is fixed.
> Does the VCL automatically change the Anchors?

tested with turbo delphi.

No the anchor is not changed.
but the behaviour is consistent.

The Anchors are not used if size changes from autosize

A taLeftJustify in Turbo delphi always expands to the right, if caption 
changes (never mind akLeft, or akRigh_
A taRightJustify  always expands to the left, if caption is changed

akLteft/akRight affect the labels movement if the parent container resizes.

-----
It doesn't seem a regression though, Lazarus 0.9.28 doesn't do the 
Delphi way neither






More information about the Lazarus mailing list