10

Inno Setup セットアップ ウィザードのサイズは固定ですが、ウィザードのセットアップ サイズを変更し、画像などいくつかの項目を変更したい...

ここに画像の説明を入力

4

3 に答える 3

1

この質問を最新の回答で更新しています:

Inno Setup 6 では多くの変更が導入されました。そのうちの 1 つは、ウィザード ウィンドウのサイズを変更できる機能です。これは現在、Inno Setup の標準機能です。

サイズ変更可能なウィザード ウィンドウ

ウィザード ウィンドウは、オプションでサイズ変更できるようになりました。

Added new [Setup] section directive: WizardResizable. If this directive is set to yes, the user will be able to resize the main Setup wizard window.
Added new [Setup] section directive: WizardSizePercent, which can be used to increase the default size of all Setup and Uninstall wizard windows without increasing the font size.
Pascal Scripting changes:
    Added new Anchors property to all controls and new KeepSizeY property to TSetupForm which allows you to add full support for WizardResizable and WizardSizePercent to all your custom controls, custom wizard pages and TSetupForm forms if you have any. See the CodeClasses.iss example script for an example. This example also shows other changes done to TSetupForm.
    Added new Constraints property to the TForm support class.

新しいモダン ウィザード スタイル

ウィザード ウィンドウは、よりモダンな外観をサポートするようになりました。

Added new [Setup] section directive: WizardStyle. If this directive is set to modern, Setup and Uninstall will show a more modern look and also the defaults for WizardResizable and WizardSizePercent change to respectively yes and 120,120.
Change in default behavior: Earlier versions of Inno Setup also supported WizardStyle and if you still have WizardStyle=modern in your script (which was allowed for backward compatibility but didn't actually change anything) and don't want to new modern look, you should remove this line or change it to WizardStyle=classic.
Updated all examples and the Compiler IDE's New Script Wizard to use WizardStyle=modern.
Pascal Scripting change: Added new SurfaceColor property to the TWizardPage support class.

特別なハックやコードを使用しなくても、ウィザード ウィンドウのサイズを簡単に変更できるようになりました。

于 2019-05-07T03:59:10.370 に答える