Accordionpane Set Name For Tabs

hi ...

how can i set a name for a accordionPane? I can't find a way and don't know how i can find an answer.

I make a new AccordionPane an add some Columns with Buttons in the AccordionPane and it woks ... but i can't give the Tabs a Name. In EchoStudio is the name "null" and if i stard the application in the Browser ther are nothing only a blank tab.

can anybody understand me an maybe help me? ;=)

bad englisch - i know ;)

rené

Put a component in your accordeon pane and set the title property of the layout data of the component inside the accordeon pane

ahh ok thx ... now it works ... but it is inposible to make this with the echoStudio.

I used the AccordionPaneLayoutData from echo extras and now it works.

LG
rené

      AccordionPane accordionPane = new AccordionPane();
      accordionPane.setStyleName("Main.AccordionPane");

      ContentPane contentPane1 = new ContentPane();
      contentPane1.setStyleName("Main.AccordionContentPanel");

      AccordionPaneLayoutData layoutData1 = new AccordionPaneLayoutData();
      layoutData1.setTitle(Messages.getString("MainForm.EditPane"));

      contentPane1.setLayoutData(layoutData1);

      ...

      accordionPane.add(contentPane1);

I can't find a way to set the font to the accordion title. How do I do this?
AccordionPaneLayoutData has no property for setting font.

mskarabo wrote:

I can't find a way to set the font to the accordion title. How do I do this?
AccordionPaneLayoutData has no property for setting font.

Found a hint on this forum. If your accordion pane is inside a splitpane, set style to that splitpane and the accordion title picks up its setings.