mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 13:09:28 +02:00
LCL: Fix occasional layout error in InputQuery with array. Issue #31759, patch from AlexeyT.
git-svn-id: trunk@54824 -
This commit is contained in:
parent
c9304d3a8f
commit
5949c3ca5a
@ -442,10 +442,12 @@ begin
|
||||
FLabels[i].Caption:= APrompts[i];
|
||||
FLabels[i].BorderSpacing.Right:= cInputQuerySpacingSize;
|
||||
FLabels[i].Width:= FLabels[i].Canvas.TextWidth(FLabels[i].Caption);
|
||||
|
||||
FEdits[i].Left:= FForm.Width; // place edits to right
|
||||
end;
|
||||
|
||||
FButtons.Align:= alTop;
|
||||
FButtons.Top:= FPanels[Len-1].Top+10;
|
||||
FButtons.Top:= FPanels[Len-1].Top+10; // place buttons to bottom
|
||||
|
||||
FForm.AutoSize:= true;
|
||||
FForm.ActiveControl:= FEdits[0];
|
||||
|
Loading…
Reference in New Issue
Block a user