<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I would prefer that too, but
unfortunately that is not my decision to make... :(<br>
<br>
I was thinking about making an "invisible" bevel inbetween the
edits/dropdown and labels, then anchor the edits/dropdown to the
bevel and use code to calculate the place for the bevel.<br>
<br>
-Torsten.<br>
<br>
On 2015-03-25 12:21, Kiên Nguyễn Tiến Trung wrote:<br>
</div>
<blockquote
cite="mid:CAPAwTOJEcZfGi-SRbb0WtM5JpkVijpFZK0Qp1=249eqSOCD6Sw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>I prefer setting property Align to alTop. Although it
is not so nice, it brings me a huge advantage. There is
no need to set anchors, so it will be easy while
adding/removing components. As a result, designing time
will be reduce considerably. Additionally, you will no
longer need to be worry about the appearance in
different linguistic.<br>
<br>
</div>
It will look like this (<a moz-do-not-send="true"
href="http://i.imgur.com/vEhYjP4.png">http://i.imgur.com/vEhYjP4.png</a>):<br>
</div>
</div>
</div>
<img moz-do-not-send="true" style="margin-right: 0px;"
src="http://i.imgur.com/vEhYjP4.png" height="390" width="482"><br>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-03-25 17:20 GMT+07:00 Henry
Vermaak <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:henry.vermaak@gmail.com" target="_blank">henry.vermaak@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On Wed, Mar 25, 2015 at 10:52:01AM +0100, Torsten
Bonde Christiansen wrote:<br>
> Is it possible by using align, anchor, or some third
option, to<br>
> always make the two edits and the drop-down box align
with the<br>
> widest of the three labels.<br>
><br>
> Since these labels will be translated to many
languages I cannot<br>
> assume that the 2nd labels is the widest, hence
anchoring the<br>
> filename edit to that label, and the drop-down and
directory edit to<br>
> the filename edit, will make the controls overlap
eachother.<br>
<br>
</span>This has been quite a big problem for me, too. The
only solution I've<br>
found is to use a container, like a frame or a panel, that
has the<br>
ChildSizing property. Then you can set the
ChildSizing.ControlsPerLine<br>
to 2 and the container will take care of making sure that
everything is<br>
aligned, as long as you add the controls in the correct
order, which<br>
will depend on the ChildSizing.Layout setting.<br>
<br>
The pain comes when you need to change the controls, because
the child<br>
sizing works on the order that the controls are added to the
container.<br>
For this reason I usually do this in code.<br>
<br>
Henry<br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a moz-do-not-send="true"
href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a moz-do-not-send="true"
href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus"
target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>