title: Inno setup WordWrap and Autosize
body: <p>I'm creating a setup using Inno Setup, and I changed license page to not show license, but to link to it instead. I also added a <code>StaticText</code> to show some text, and the problem is that when I add too much text, I need <code>WordWrap := true</code>, and <code>AutoSize := false</code>, and this makes <code>StaticText</code> width in Setup created really small. Why it is sized if <code>AutoSize = false</code>? What to do to prevent it from minimizing when <code>WordWrap = true</code>. Change parent?</p>
  
  <pre><code>procedure InitializeWizard;
  var  
   FormButton: TNewButton;
   Page: TWizardPage;
   ComboBox: TNewComboBox;
  begin
    WizardForm.LicenseAcceptedRadio.Hide;
    WizardForm.LicenseNotAcceptedRadio.Hide;
    LicenseContextText := TNewStaticText.Create(WizardForm.InnerPage);
    with LicenseContextText do
    begin
      Parent := WizardForm.InnerPage;
      //TODO: check if we need 
      Left   := ScaleX(250);
      Top    := ScaleY(50);
      Height := ScaleY(100);
      Width  := ScaleX(1000); //200;
      //Color := clBlack;
      Font.Color := clGray;
      //WordWrap := true;
      //AutoSize := false;
      Caption := 'Some content text, Some content text, Some content text';// 
      Visible := false;
    end;
    LicenseLinkLabel := TNewStaticText.Create(WizardForm.InnerPage);
    with LicenseLinkLabel do
    begin
      Parent := WizardForm.InnerPage;
      //TODO: check if we need 
      Left := 340;
      Top := 240;
      Height := 100;
      Cursor := crHand;
      Font.Color := clBlue;
      Font.Style := [fsUnderline];
      Caption := 'the License Agreement';
      OnClick := @LicenseLinkLabelClick;
      Visible := false;
    end;
    LicenseLinkURL := TNewCheckBox.Create(WizardForm.InnerPage);
    with LicenseLinkURL do
    begin
      Parent := WizardForm.InnerPage;
      Left := 277;
      Top := 238;
      Width := 60;
      Caption := ' I accept';
      OnClick := @OnLicenseCheckBoxClick;
      Visible := false;
    end;
  end;
  
  procedure CurPageChanged(CurPageID: Integer);
  begin
   if (CurPageID = wpLicense) then
   begin
       WizardForm.Bevel1.Visible := false;
       WizardForm.MainPanel.Visible := false;
       WizardForm.InnerNotebook.Visible := false;
       LicenseLinkLabel.Visible := true;
       LicenseLinkURL.Visible := true;
       LicenseContextText.Visible := true;
  </code></pre>