Hi Greg,
I've tried using <tabDataRenderer>, i.e.:
<TabPane.tabData>
<content:ButtonData icon="@resources/Compass_blue.svg"
text="Voyage">
</content:ButtonData>
<tabDataRenderer>
<content:ButtonDataRenderer iconWidth="74"
iconHeight="50" fillIcon="true"/>
</tabDataRenderer>
</TabPane.tabData>
but I got the following error:
"tabDataRenderer" is not a valid property of element tabData
Thanks,
Bojan
Greg Brown said the following on 29/11/2010 01:14:
Try using<tabDataRenderer> or TabPane#setTabDataRenderer().
G
On Nov 28, 2010, at 5:56 PM, Bojan Vučinić wrote:
Hi All,
I am trying to use SVG icons as much as possible, however I have not been able
to use them for TabPanes, i.e.:
....
<TabPane.tabData>
<content:ButtonData icon="@resources/compass.svg"
....
as I don't know how to specify the:
...
<dataRenderer>
<content:ButtonDataRenderer iconWidth="74"
iconHeight="50" fillIcon="true"/>
</dataRenderer>
...
in that context.
Any hints?
TIA,
Bojan