As an example you can see, How UIComponent has used ToolTipBead in set
toolTip Method and that ToolTipBead is extending another ToolTipBead  (in
HTML project) of Royale SDK. Additional functionality can be added in that
new bead that you create and differences can be overridde.

Alina Kazi

On Thu, 1 Oct 2020, 4:18 pm Alina Kazi, <[email protected]> wrote:

> Hi Nicolas,
> We can use beads with mx controls too
> ClassAliasBead is used in mxRoyale Examples in the SDK.
> TruncateText in jewel has used IStyledUIBase class. See if you create
> something similar for the mx control as well and use it.
>
> You need to see the SDK code further and see the possibility of it.
> Carlos can comment better on it.
>
> Alina Kazi
>
> On Thu, 1 Oct 2020, 4:10 pm Nicolas Aguttes, <[email protected]>
> wrote:
>
>> Hello Carlos,
>>
>> yes I saw that, but unfortunately we are mx here...
>>
>> Nicolas
>>
>> Le jeu. 1 oct. 2020 à 12:00, Carlos Rovira <[email protected]> a
>> écrit :
>>
>>> In Jewel there's a bead "TruncateText"
>>>
>>> El jue., 1 oct. 2020 a las 10:50, tranquiliste (<
>>> [email protected]>) escribió:
>>>
>>>> Hello,
>>>>
>>>> With Flash there were a feature when you added a maxWidth to a Label
>>>> where
>>>> it automatically truncated the text to the maxwidtht putting "..." at
>>>> the
>>>> end and generating a toolTip to display the full text (see doc [1]) .
>>>>
>>>> Is there a bead in Apache Royale to reproduce this behaviour?
>>>>
>>>> Thanks
>>>> Nicolas
>>>>
>>>> [1]
>>>> https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/Label.html
>>>>
>>>>
>>>>
>>>> -----
>>>> Nicolas
>>>> --
>>>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>

Reply via email to