IdeIntf: Add caption to a GroupBox with LCL-QT5 to prevent a layout error. Issue #37576.

git-svn-id: trunk@63750 -
This commit is contained in:
juha 2020-08-16 07:54:12 +00:00
parent 4f1e4291fd
commit 00242caf3c

View File

@ -59,6 +59,9 @@ begin
ClearButton.Caption := oisClear;
AddButtons;
IDEDialogLayoutList.ApplyLayout(Self);
{$IFDEF LCLQt5} // A hack to prevent layout error with LCL-QT5.
TextGroupBox.Caption := 'Lines'; // Can be removed when issue #37576 is solved.
{$ENDIF}
end;
procedure TStringsPropEditorFrm.FormClose(Sender: TObject; var CloseAction: TCloseAction);