On 21.04.2016 19:14, Ondrej Pokorny wrote:
On 21.04.2016 19:07, Bo Berglund wrote:
I am making a form with a few spinedits and editboxes for the user to
enter config data. After I have dropped these on the form I also add
lables before them to hold the description.

So at the start I have Label1, Label2 and Label3 with the name as the
caption.
Next I set the alignment property of all to taRightJustify in order to
keep the set distance between the label and the control.
So far so good, but when I start adding the correct caption text to
the labels they grow towards the wrong end. Instead of the left end of
the label moving left the right end moves in under the controls it is
a description for.
This was a surprise because it is not working like this in Delphi.
What did I do wrong?

Do you use Lazarus trunk? I think I fixed that in trunk (fixed = changed it so that it behaves like in Delphi).

Yep, r52407. If it doesn't behave like you want (in trunk!), it is a bug.
+ It won't be merged to 1.6.

Ondrej

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to