content in tabitem invisible

2 messages - 65 views

i.. I am trying to create a simple tabfolder as is in the demo, where each tabitem contains text or a textfield using the following xml. I could see the tabs but inside the tab nothing is displayed. Does anybody know what could be wrong?

Many Thanks!


<tabfolder>
        <tabitem label="tab1">
            <scrollPane>
                <text class="label">A Label</text>
                <textarea>A Text Area</textarea>
            </scrollPane>
        </tabitem>

        <tabitem label="tab2">
            <container>
                <textarea>Another Text Area</textarea>
            </container>
        </tabitem>

</tabfolder>

 

 

I think I solved the problem... was using a screen style like below:

<screen style="align:fill-top;layout:inlinelayout(false,fill)" title="My Title">


removed the style and it works fine now.