mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:20:25 +02:00
LCL: Fixed access violation with Application.BidiMode bdRightToLeft and ChildSizing.Layout cclTopToBottomThenLeftToRight. Issue #31966
git-svn-id: trunk@55213 -
This commit is contained in:
parent
6aaa231cec
commit
f7785d9196
@ -1563,7 +1563,7 @@ begin
|
||||
Col:=i div LineMax;
|
||||
Row:=i mod LineMax;
|
||||
if (BiDiMode=bdRightToLeft) then
|
||||
Col:=LineMax-Col-1;
|
||||
Col:=ChildCount[asboHorizontal]-Col-1;
|
||||
ChildBox:=Children[asboVertical][Row].Children[asboHorizontal][Col];
|
||||
ChildBox.SetControl(ChildControl);
|
||||
ChildBox.ApplyChildsizingBorders(ChildSizing);
|
||||
|
Loading…
Reference in New Issue
Block a user