Hi
I've got the following snippet;
<BoxPane orientation="horizontal" >
<ImageView wtkx:id="car"
styles="{verticalAlignment:'center'}"/>
<ImageView wtkx:id="vci_status"
styles="{verticalAlignment:'bottom'}"/>
<ImageView wtkx:id="pc"
styles="{verticalAlignment:'center'}"/>
<ImageView wtkx:id="pc_status"
styles="{verticalAlignment:'bottom'}"/>
<ImageView wtkx:id="server"
styles="{verticalAlignment:'center'}"/>
<PushButton wtkx:id="start"
buttonData="Start Communications"
styles="{font: {bold:true, size:12}}"/>
</BoxPane>
The problem I've got is that I want the button to appear on the far right of
the window and centered in the box pane. When I try to add
verticalAlignment='center',horizontalAlignment='right' to the styles
attribute I get a runtime exception "Unable to access property "styles" for
type org.apache.pivot.wtk.PushButton."
How do I acheive what I want?
Regards
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/Alignment-tp3973763.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.