New MUI2 bitmap stretch modes: FitControl, NoStretchNoCrop[NoAlign] and AspectFitHeight. *_NOSTRETCH is now deprecated.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6524 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
481d383c76
commit
efbdf196f2
9 changed files with 273 additions and 76 deletions
|
@ -282,11 +282,23 @@
|
|||
<em>Default: ${NSISDIR}\Contrib\Graphics\Header\nsis.bmp</em></p>
|
||||
<div class="settings">
|
||||
<p>
|
||||
<strong>MUI_HEADERIMAGE_BITMAP_NOSTRETCH</strong><br />
|
||||
Do not stretch the installer header bitmap to fit the size of the field. Use this
|
||||
option only if you have an image that does not use the whole space. If you have
|
||||
a full size bitmap that fits exactly, you should not use this option because the
|
||||
size of the field will be different if the user has a custom DPI setting.</p>
|
||||
<strong>MUI_HEADERIMAGE_BITMAP_STRETCH</strong> <span class="parameter">mode</span><br />
|
||||
<ul>
|
||||
<li><p><strong>FitControl</strong> (Default)<br />
|
||||
Stretch the image to fit the image control.</p>
|
||||
<li><p><strong>NoStretchNoCropNoAlign</strong><br />
|
||||
Do not stretch the image to fit the size of the image control.
|
||||
You should not use this option if you have a full size bitmap that fits exactly because
|
||||
the size of the field will be different if the user has a custom DPI setting or
|
||||
if the installer is using a CJK language.</p>
|
||||
<li><p><strong>NoStretchNoCrop</strong><br />
|
||||
This is similar to NoStretchNoCropNoAlign but will align the image to the right edge when
|
||||
using a RTL language or if MUI_HEADERIMAGE_RIGHT is defined.</p>
|
||||
<li><p><strong>AspectFitHeight</strong><br />
|
||||
Scale the image up or down until it is the same height as the image control while
|
||||
maintaining the image aspect ratio.</p>
|
||||
</ul>
|
||||
</p>
|
||||
<p>
|
||||
<strong>MUI_HEADERIMAGE_BITMAP_RTL</strong> <span class="parameter">bmp_file</span><br />
|
||||
Bitmap image to display on the header of installers pages when using a RTL language
|
||||
|
@ -294,12 +306,8 @@
|
|||
<em>Default: Non-RTL bitmap</em></p>
|
||||
<div class="settings">
|
||||
<p>
|
||||
<strong>MUI_HEADERIMAGE_BITMAP_RTL_NOSTRETCH</strong><br />
|
||||
Do not stretch the installer header bitmap when using a RTL language to fit the
|
||||
size of the field. Use this option only if you have an image that does not use the
|
||||
whole space. If you have a full size bitmap that fits exactly, you should not use
|
||||
this option because the size of the field will be different if the user has a custom
|
||||
DPI setting.</p>
|
||||
<strong>MUI_HEADERIMAGE_BITMAP_RTL_STRETCH</strong> <span class="parameter">mode</span><br />
|
||||
See MUI_HEADERIMAGE_BITMAP_STRETCH for a list of the available stretch modes.</p>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
|
@ -309,11 +317,8 @@
|
|||
<em>Default: Installer header bitmap</em></p>
|
||||
<div class="settings">
|
||||
<p>
|
||||
<strong>MUI_HEADERIMAGE_UNBITMAP_NOSTRETCH</strong><br />
|
||||
Do not stretch the uninstaller header bitmap to fit the size of the field. Use this
|
||||
option only if you have an image that does not use the whole space. If you have
|
||||
a full size bitmap that fits exactly, you should not use this option because the
|
||||
size of the field will be different if the user has a custom DPI setting.</p>
|
||||
<strong>MUI_HEADERIMAGE_UNBITMAP_STRETCH</strong> <span class="parameter">mode</span><br />
|
||||
See MUI_HEADERIMAGE_BITMAP_STRETCH for a list of the available stretch modes.</p>
|
||||
<p>
|
||||
<strong>MUI_HEADERIMAGE_UNBITMAP_RTL</strong> <span class="parameter">bmp_file</span><br />
|
||||
Bitmap image to display on the header of uninstallers pages when using a RTL language
|
||||
|
@ -321,12 +326,8 @@
|
|||
<em>Default: Installer RTL header bitmap</em></p>
|
||||
<div class="settings">
|
||||
<p>
|
||||
<strong>MUI_HEADERIMAGE_UNBITMAP_RTL_NOSTRETCH</strong><br />
|
||||
Do not stretch the uninstaller header bitmap when using a RTL language to fit the
|
||||
size of the field. Use this option only if you have an image that does not use the
|
||||
whole space. If you have a full size bitmap that fits exactly, you should not use
|
||||
this option because the size of the field will be different if the user has a custom
|
||||
DPI setting.</p>
|
||||
<strong>MUI_HEADERIMAGE_UNBITMAP_RTL_STRETCH</strong> <span class="parameter">mode</span><br />
|
||||
See MUI_HEADERIMAGE_BITMAP_STRETCH for a list of the available stretch modes.</p>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
|
@ -385,11 +386,8 @@
|
|||
<em>Default: ${NSISDIR}\Contrib\Graphics\Wizard\win.bmp</em></p>
|
||||
<div class="settings">
|
||||
<p>
|
||||
<strong>MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH</strong><br />
|
||||
Do not stretch the bitmap for the Welcome and Finish page to fit the size of the
|
||||
field. Use this option only if you have an image that does not use the whole space.
|
||||
If you have a full size bitmap that fits exactly, you should not use this option
|
||||
because the size of the field will be different if the user has a custom DPI setting.</p>
|
||||
<strong>MUI_WELCOMEFINISHPAGE_BITMAP_STRETCH</strong> <span class="parameter">mode</span><br />
|
||||
See MUI_HEADERIMAGE_BITMAP_STRETCH for a list of the available stretch modes.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h3>
|
||||
|
@ -403,11 +401,8 @@
|
|||
<em>Default: ${NSISDIR}\Contrib\Graphics\Wizard\win.bmp</em></p>
|
||||
<div class="settings">
|
||||
<p>
|
||||
<strong>MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH</strong><br />
|
||||
Do not stretch the bitmap for the Welcome and Finish page to fit the size of the
|
||||
field. Use this option only if you have an image that does not use the whole space.
|
||||
If you have a full size bitmap that fits exactly, you should not use this option
|
||||
because the size of the field will be different if the user has a custom DPI setting.</p>
|
||||
<strong>MUI_UNWELCOMEFINISHPAGE_BITMAP_STRETCH</strong> <span class="parameter">mode</span><br />
|
||||
See MUI_HEADERIMAGE_BITMAP_STRETCH for a list of the available stretch modes.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h3>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue