diff --git a/ide/frames/compiler_other_options.pas b/ide/frames/compiler_other_options.pas index 4fc3bc3dc0..225773e73a 100644 --- a/ide/frames/compiler_other_options.pas +++ b/ide/frames/compiler_other_options.pas @@ -272,9 +272,14 @@ begin Application.ProcessMessages; StartTime := Now; sbAllOptions.Anchors := []; - RenderAllOptions(Reader); - btnGetAll.Visible := False; - lblStatus.Visible := False; + DisableAutoSizing; + try + RenderAllOptions(Reader); + btnGetAll.Visible := False; + lblStatus.Visible := False; + finally + EnableAutoSizing; + end; sbAllOptions.Anchors := [akLeft,akTop, akRight, akBottom]; CondStatusbar.Panels[2].Text := 'Render took ' + FormatDateTime('hh:nn:ss', Now-StartTime); finally