i have made a very simple split pane,
<SplitPane bxml:id="splitPane" orientation="horizontal">
<left><BoxPane styles="{backgroundColor:'#ff00ff'}">
<Label text="What time is it?"/></BoxPane>
</left>
<right><BoxPane styles="{backgroundColor:'#ffff00'}">
<Label text="What time is that?"/></BoxPane>
</right>
</SplitPane>
and initialize has this code:
public void initialize(Map<String, Object> namespace, URL arg1,
Resources arg2) {
SplitPane splitPane =(SplitPane) namespace.get("splitPane");
splitPane.setPrimaryRegion(SplitPane.Region.TOP_LEFT);
splitPane.setResizeMode(SplitPane.ResizeMode.PRIMARY_REGION);
splitPane.setSplitRatio(0.5f);
System.out.println("initilize");
}
Then after launch the app, the left side is not shown at all.
Any suggestions?
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/primary-region-got-disappeared-for-splitpane-tp3479956p3509500.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.