On Sun, 20 Feb 2011 12:32:31 +0000, Martin <[email protected]> wrote:
>On 19/02/2011 15:34, Martin wrote: >> On 19/02/2011 15:06, Mattias Gaertner wrote: >>> On Sat, 19 Feb 2011 15:44:02 +0100 >>> Bo Berglund<[email protected]> wrote: >>>> 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). >>>> 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 to complete this => the labels "Left" property changes to reflect >the new position Testing with Delphi7: Yes the Left property changes when the text is changed. -- Bo Berglund Developer in Sweden -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
