[izpack-devel] The icon for the done button

Bartz, Klaus Klaus.Bartz at coi.de
Wed Aug 23 09:26:03 CEST 2006


Hi,
I agree; all new "things" should be facultative.

I think this will be GUI related :-) Therefore the best
place without expanding dtd will be the guiprefs section.
There is the key|value pair
    <!ELEMENT modifier EMPTY>
        <!ATTLIST modifier key CDATA #REQUIRED>
        <!ATTLIST modifier value CDATA #REQUIRED>

I use it for generell cut off the label an button icons and for the
new layout configuration. As example

	<guiprefs width="640" height="480" resizable="no">
		<modifier key="useButtonIcons" value="no"/>
		<modifier key="useLabelIcons" value="no"/>
		<modifier key="useFlags" value="no"/>
		<modifier key="langDisplayType" value="native"/>
		<modifier key="layoutAnchor" value="NORTHWEST"/>

		<modifier key="useHeadingPanel" value="yes"/>
		<modifier key="useHeadingForSummary" value="yes"/>
		<modifier key="headingLineCount" value="1"/>
		<modifier key="headingFontSize" value="1.5"/>
		<modifier key="headingBackgroundColor" value="0x00ffffff"/>
		<modifier key="headingPanelCounter" value="text"/>
		<modifier key="headingPanelCounterPos" value="inHeading"/>
		<modifier key="topYGap" value="10"/>		    	
		<modifier key="allYGap" value="5"/>		    	
		<modifier key="filler1YGap" value="5"/>		    	
		<modifier key="filler3XGap" value="10"/>		    	
	</guiprefs>

As example how to use it see IzPanel.getSummaryCaption with

        if (parent.isHeading(this)
                && idata.guiPrefs.modifier.containsKey("useHeadingForSummary")
                && ((String) idata.guiPrefs.modifier.get("useHeadingForSummary"))
                        .equalsIgnoreCase("yes"))

Only contained in the svn trunk (checked in yesterday :-)).
Or see the new LayoutHelper, there are more than one places where it will be
handled.

May be key name like

"useAlternateIconFinishPanel"

Cheers

Klaus


>-----Original Message-----
>From: izpack-devel-bounces at lists.berlios.de
>[mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of Miraodb
>Sent: Wednesday, August 23, 2006 8:42 AM
>To: izpack-devel at lists.berlios.de
>Subject: Re: [izpack-devel] The icon for the done button
>
>
>Hi Ryan,
>
>I don't really like the icon either... we could make it 
>optionial with a
>variable or something... or with an attribute to the finishpanel or
>simplefinishpanel.
>
>I let you do the patch then... post it on the list before commiting.
>
>Cheers and good luck... :-)
>Fabrice
>----- Original Message ----- 
>From: "Ryan Shillington" <Ryan.Shillington at troux.com>
>To: <izpack-devel at lists.berlios.de>; <elmar at grom.net>
>Sent: Tuesday, August 22, 2006 6:48 PM
>Subject: Re: [izpack-devel] The icon for the done button
>
>
>> I don't feel strongly about the check mark one way or 
>another.  Let me
>> take care of the done button.  It'd be nice to make my first 
>change an
>> easy one :-).
>>
>> Ryan
>>
>> -----Original Message-----
>> From: izpack-devel-bounces at lists.berlios.de
>> [mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of 
>Amit Bhayani
>> Sent: Tuesday, August 22, 2006 6:46 AM
>> To: izpack-devel at lists.berlios.de; elmar at grom.net
>> Subject: Re: [izpack-devel] The icon for the done button
>>
>> Sounds good idea!
>> In addition to this in our specific case we also show
>> IzPack3-head\src\img\installer\img\check32.png image on the 
>FinishPanel.
>>
>> I am attaching the gif image for your reference.
>>
>> What do you think if we have both?
>>
>> Amit.
>>
>> -----Original Message-----
>> From: izpack-devel-bounces at lists.berlios.de
>> [mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of Miraodb
>> Sent: Tuesday, August 22, 2006 12:45 PM
>> To: elmar at grom.net; izpack-devel at lists.berlios.de
>> Subject: Re: [izpack-devel] The icon for the done button
>>
>> Hi Guyz,
>>
>> Shall i apply that ? It seems like a good idea to me.
>> Any other opinion before commiting anythin ?
>>
>> cheers,
>> Fabrice
>> ----- Original Message ----- 
>> From: "Elmar Grom" <elmar at grom.net>
>> To: <izpack-devel at lists.berlios.de>
>> Sent: Tuesday, August 22, 2006 5:27 AM
>> Subject: Re: [izpack-devel] The icon for the done button
>>
>>
>> > Hey, that's worth a chunk of money ~;o)
>> >
>> > Looks good
>> >
>> >     Elmar
>> >   -----Original Message-----
>> >   From: izpack-devel-bounces at lists.berlios.de
>> > [mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of Ryan
>> Shillington
>> >   Sent: Monday, August 21, 2006 2:54 PM
>> >   To: izpack-devel at lists.berlios.de
>> >   Subject: [izpack-devel] The icon for the done button
>> >
>> >
>> >   Hello friends,
>> >
>> >
>> >
>> >   During the install, the "Quit" button has a big red X as 
>its icon,
>> which
>> > is very appropriate.  Unfortunately, at the end of the 
>install, on the
>> > FinishPanel the text changes to done but the icon is still 
>a big red
>> X.
>> Can
>> > we change it to something nicer?  I got my UI designer to 
>give me an
>> IzPack
>> > looking checkmark:
>> >
>> >
>> >
>> >   http://www.thebookhauler.com/izpack/done.png
>> >
>> >
>> >
>> >   What do you think?
>> >
>> >
>> >
>> >   Ryan
>> >
>> >   IMPORTANT NOTICE:
>> >   This message may contain confidential information. If you have
>> received
>> > this e-mail in error, do not use, copy or distribute it. 
>Do not open
>> any
>> > attachments. Delete it immediately from your system and notify the
>> sender
>> > promptly by e-mail that you have done so. Thank you.
>> >
>>
>>
>> 
>---------------------------------------------------------------
>---------
>> ----
>> ----
>>
>>
>> > _______________________________________________
>> > izpack-devel mailing list
>> > izpack-devel at lists.berlios.de
>> > https://lists.berlios.de/mailman/listinfo/izpack-devel
>> >
>>
>> _______________________________________________
>> izpack-devel mailing list
>> izpack-devel at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/izpack-devel
>> _______________________________________________
>> izpack-devel mailing list
>> izpack-devel at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/izpack-devel
>>
>>
>
>_______________________________________________
>izpack-devel mailing list
>izpack-devel at lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/izpack-devel
>



More information about the izpack-devel mailing list