Hello
       I'am creating a ui with pivot using Java (not xml).
       I'm searching to traduct this code in Java :
       <TabPane selectedIndex="-1" collapsible="true"
styles="{tabOrientation:'vertical'}"
                            tooltipText="Click a tab to expand/collapse">
                            <BoxPane styles="{horizontalAlignment:'center',
verticalAlignment:'center'}">
                                <TabPane.tabData>
                                    <content:ButtonData icon="@anchor.png"
text="Anchor"/>
                                </TabPane.tabData>
                                <Label text="Collapsible"/>
                            </BoxPane>
</TabPane>

I have this :
        TabPane tabPane = new TabPane();
        tabPane.setSelectedIndex(-1);
        tabPane.setCollapsed(true);
        tabPane.getStyles().put("tabOrientation", Orientation.VERTICAL);

can you help me please ?

Reply via email to