Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-06

Need to have cclRightToLeftThenTopToBottom in TControlChildrenLayout

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Zaher Dirkey

Hi,
I like to to have cclRightToLeftThenTopToBottom in TControlChildrenLayout for ChildSizing, for my projects that right to left alignment.
Or some help to make it by my self, but i am sure it is sensitive area in the code, it must done by the original developer.

Thanks in advanced

Zaher Dirkey

Reply by email

Vincent Snijders
to Zaher Dirkey
Zaher Dirkey wrote
Hi, I like to to have cclRightToLeftThenTopToBottom in TControlChildrenLayout for ChildSizing, for my projects that right to left alignment.

Just another idea: maybe cclLeftToRightThenTopToBottom should do right to left childsizing if BiDiMode is bdRightToLeft.

Vincent

Reply by email

Zaher Dirkey
to Vincent Snijders

Hi, In fact that was my first idea (Checking UseRightToLeftAlignment) but that mean i must make it by hands :) i prefer doing it by the original programmer, or i must wait to Lazarus team start unstable version before sending the patch.

Zaher Dirkey

Reply by email

Mattias Gaertner
to Zaher Dirkey
Hi, In fact that was my first idea (Checking UseRightToLeftAlignment) but that mean i must make it by hands :) i prefer doing it by the original programmer, or i must wait to Lazarus team start unstable version before sending the patch.

Implemented. Please test.

Mattias

Reply by email

Zaher Dirkey
to Mattias Gaertner

Hi
Thanks a lots you saved a lot of my time.
But you must use UseRightToLeftAlignment instead of (BidiModebdLeftToRight) because not all controls accept change alignment, and UseRightToLeftAlignment equal of BidiMode=bdRightToLeft

I make a small patch with modified lines.

Zaher Dirkey -------------- next part -------------- A non-text attachment was scrubbed... Name: Layout.patch Type: application/octet-stream Size: 5086 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090611/c534e03d/attachment.obj>

Reply by email

Zaher Dirkey
to Zaher Dirkey

Hi Mattias,
Please could you use
BiDiMode=bdRightToLeft instead of BiDiModebdLeftToRight

Because
bdRightToLeftNoAlign,
bdRightToLeftReadingOnly
must not effect to Align/Alignment in control.

Thanks in advanced.

Zaher Dirkey

Reply by email

Mattias Gaertner
to Zaher Dirkey
Show quoted text 8 lines
Hi Mattias, Please could you use BiDiMode=bdRightToLeft instead of BiDiModebdLeftToRight Because bdRightToLeftNoAlign, bdRightToLeftReadingOnly must not effect to Align/Alignment in control.

Done in 20618.

Mattias

Reply by email