Skip to end of banner
Go to start of banner

Customization Possibilities

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Current »

Current status: monitoring

 

  1. Title
  2. Image
  3. Text
  4. Icons
  5. Buttons
    1. Icons on buttons
  6. Panel

 

ElementOptionPossible/AnswerIzPack PanelsCustom PanelsCommentScreen shot / Example

Window Title

 

Custom text

YESChange the value of corresponding variables: installer.title or installer.reversetitle \footnote 1

Text formating:

  • size
  • bold
  • italic
  • color
OS dependentYESText formatting of the window title depends on the operating system's settings.
IzPack Title and Subtitle
Custom textYES
  1. Title 0..1, Subtitle 0..n. (hmm!?)
  2. Panel titles can be switched by the guiprefs modifier useHeadingPanel (global). To change the panel title for the IzPack panel modify the corresponding language pack variable <PanelName>.headline (e.g.: <str id="HelloPanel.headline" txt="This is my custom title"/>).
 

Text formating:

  • size
  • TODO font (don't think so)

YES
Font size (global)
<guiprefs> 
	... 
	<modifier key="headingFontSize" value="3.0"/> 
	... 
</guiprefs>
 

Color:

  • Background
  • Foreground
YES
Font size (global)
<guiprefs> 
	... 
	<modifier key="headingBackgroundColor" value="0x00FF7F7F"/>
	<modifier key="headingForegroundColor" value="0x000000FF"/>
	... 
</guiprefs>

 Image:

  • Left
  • Right
 YES
Image right side
<resources> 
	... 
	<res id="Heading.image" src="images/heading_image.png"/>
	... 
</resources>
Image left side
<guiprefs> 
	... 
	<modifier key="headingImageOnLeft" value="yes"/>
	... 
</guiprefs>

<resources> 
	... 
	<res id="Heading.image" src="images/heading_image.png"/>
	... 
</resources>

 

 Installation progress:

  • text
  • progressbar
 YES
Installation progress
<guiprefs> 
	... 
	<modifier key="layoutAnchor" value="NORTWEST"/>
	... 
</guiprefs>

ImageAre images on panels mandatoryNO  
Custom image per panelYES

To specify a custom image per panel add a resource tag with id Installer.image.n. Notice the the last n. This should be replace by a sequence number of desired panel.

<resources>
	...
	<res id="Installer.image.0" src="images/novatec_logo2.png" />
    <res id="Installer.image.2" src="images/novatec_logo3.png" />
	...
</resources>

WIth this setting the installer with 4 panels will act like so:

NumberPanelImage
0Panel 1novatec_logo2.png
1Panel 2novatec_logo2.png
2Panel 3novatec_logo3.png
3Panel 4novatec_logo3.png
 
Multiple images per panelNO

  
Allowed positionsLeft side  
is the size of the image predefinedNO  
PanelCustom textYESNOYES  
Text formating (e.g.: size, bold, italic, color...)YES(size)  Size: Use guiprefs modifier labelFontSize (global). 

Layout variations:

  • NORTH
  • NORTHWEST
  • SOUTHWEST
  • SOUTH
  • CENTER (default)
YES (global)

Layout
<guiprefs> 
	... 
	<modifier key="layoutAnchor" value="NORTWEST"/>
	... 
</guiprefs>
NORTHWESTNORTH 
 CENTER 
SOUTHWESTSOUTH 
Icons

Visibility

  • yes (default)
  • no
YES (global)
Icon visibility switch
<guiprefs> 
	... 
	<modifier key="useLabelIcons" value="no"/>
	... 
</guiprefs>
 
size     
ButtonsCustom text NO   

Icons visibility variable:

  • yes (dafault)
  • no
YES (global)


Icon visibility switch
<guiprefs> 
	... 
	<modifier key="useButtonIcons" value="yes"/>
	... 
</guiprefs>
 
Custom buttonsYESNOYES  
Custom gui items

label

YESNOYES  
radio buttonYESNOYES  
check buttonYESNOYES  
push buttonYESNOYES  
icon...YESNOYES  
IzPack Installer Dialog

Size:

  • width
  • height
  • resizable
    • yes
    • no
YES (global for all panals)
<guiprefs width="640" height="480" resizable="yes">
	...
</guiprefs>
 

Message Box

OptionPossible/AnswerCommentScreen shot/Example
Custom titleYES

To get a custom window title or message modify the corresponding language pack. You can use IzPack variables.

Custom title
<langpack>
  ...
  <str id="installer.quit.reversetitle" txt="$APP_NAME $APP_VER"/>
  ...
</langpack>

 

Custom textYES

Modify the corresponding language pack

Custom title
<langpack>
  ...
  <str id="installer.quit.reversemessage" txt="Are you sure you want to cancel installation?"/>
  ...
</langpack>

Text formatting:

  • size
  • font
  • color
NO 

Language Box

OptionPossible/AnswerCommentScreen Shot/Example

Custom title

NO 

 

Custom text

NO 

Icon visibility:

  • yes (default)
  • no
YES
<guiprefs> 
	... 
	<modifier key="useFlags" value="no"/>
	... 
</guiprefs>
Custom icon for a flagYESChange the the corresponding icon in /bin/langpacks/flags/

Display type variable:

  • iso3(default)
  • native
YES
<guiprefs> 
	... 
	<modifier key="langDisplayType" value="native"/>
	... 
</guiprefs>

 

 

 

 

temporary footnotes:

  1. If the langpack key installer.reversetitle is defined, the value of that key will be used instead of the key installer.title. With installer.reversetitle option you can use IzPack variables to customize the title of a panel. The installer.title option has following static format: ${installer.title} + ${appname}.
  • No labels