pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oladapo Animashaun <oladapoanimash...@hotmail.co.uk>
Subject [No Subject]
Date Sat, 25 Sep 2010 23:03:18 GMT

hello All,
Was wandering if anyone knows how to create sheet dialog button. Basically i'm creating a
custom prompt, using the sheet class like so:

<Sheet wtkx:id="form" title="Form"
	xmlns:wtkx="http://pivot.apache.org/wtkx" xmlns:content="org.apache.pivot.wtk.content"
	xmlns="org.apache.pivot.wtk" preferredWidth="450" preferredHeight="400">
but when i add a button, using the normal PushButton element, like so:

					<BoxPane styles="{horizontalAlignment:'left'}">
						<PushButton buttonData="Save">....</PushButton>
The normal "gray" form button is drawn to screen, rather than the prompt "dark blue" button.
I've trolled through the java doc  but can't find any clues.  thanks

View raw message