<div dir="ltr">Most of my applications are for RightToLeft (Hebrew) and TToolBar and TStatusBar don't support RightToLeft so I use this technique to make my own.  I use the Align:= alLeft/alRight method though.  And I use TPanel for dividers.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 11, 2013 at 12:51 PM, Valdas Jankūnas <span dir="ltr"><<a href="mailto:zmuogs@gmail.com" target="_blank">zmuogs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2013.11.11 06:06, Avishai rašė:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Could you use a TPanel in place of the TBevel?  I tried that and it  gives<br>
the same visual effect without the size problems.  But I don't know what<br>
you are doing with the TBevel.<br>
</blockquote>
<br></div>
Hello,<br>
<br>
 I use TBevel as separator (Shape=bsLeftLine) between components. I tried TPanel: looks good, also its Width  automatically adjusts to 2 when "CellAlighHorizontal" is set to other than "ccaFill".<br>
<br>
 Also I found how to rearrange Childs easily when "ChildSizing" is used:<br>
- Parent.ChildSizing set to "cclNone";<br>
- change "Z order" of Child;<br>
- revert back Parent.ChildSizing.<br>
<br>
 I found why TBevel "doesn't want" shrink less than 50px: TBevel has function "GetControlClassDefaultSize" where "Result.CY := 50;" is hardcoded.<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
  Valdas Jankūnas<br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Shalom,<br>Avishai<br><a href="mailto:avishai.gore@gmail.com">avishai.gore@gmail.com</a><br>אבישי גוֹר
</div>