pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: SVG icon in Tab Pane
Date Wed, 01 Dec 2010 13:10:03 GMT
Can you simply set the size of the SVG image itself?

On Dec 1, 2010, at 8:06 AM, Bojan Vučinić wrote:

> Ah, I see ... it is working now, but as I have icons of different sizes, I'll have to
find another solution.
> Thanks
> 
> 
> Greg Brown said the following on 01/12/2010 13:46:
>> It is a property of the TabPane, not the data (see TabPane#setTabDataRenderer()).
>> G
>> 
>> On Dec 1, 2010, at 7:17 AM, Bojan Vučinić wrote:
>> 
>>> 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
>>>> 
>> 
>> 


Mime
View raw message