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