mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 22:00:38 +02:00
PoChecker: better positioning of the Lnaguage Filter combobox @runtime.
git-svn-id: trunk@46462 -
This commit is contained in:
parent
d963695497
commit
869ab94929
@ -297,9 +297,13 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TPoCheckerForm.ChildPoListBoxResize(Sender: TObject);
|
procedure TPoCheckerForm.ChildPoListBoxResize(Sender: TObject);
|
||||||
|
var
|
||||||
|
ATop, ADiff: Integer;
|
||||||
begin
|
begin
|
||||||
//Can't seem to get this to work with just Anchors
|
//Can't seem to get this to work with just Anchors
|
||||||
LangFilter.Top := ChildPoListBox.Top + ChildPoListBox.Height + 10;
|
ATop := ChildPoListBox.Top + ChildPoListBox.Height;
|
||||||
|
ADiff := MasterPoListBox.Top + MasterPoListBox.Height - ATop;
|
||||||
|
LangFilter.Top := ATop + (ADiff - LangFilter.Height);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TPoCheckerForm.ClearChildBtnClick(Sender: TObject);
|
procedure TPoCheckerForm.ClearChildBtnClick(Sender: TObject);
|
||||||
|
Loading…
Reference in New Issue
Block a user