Jump to content

TUniLabel and angle/rotation


mika

Recommended Posts

I need a label than can rotate and I haven't found such functionality in existing component(s). I suppose one could write own component based on TUniLabel; however, that doesn't seem to be as trivial as one might assume. Is there a way to do this and/or is there some documentation about internal workings of the existing controls?

 

This is pretty much last subject i'm testing before purchasing this great product. Possibility to write custom components quickly and effectively is quite important and I would very much like to resolve this as soon as possible.

 

Thank you in advance.

Link to comment
Share on other sites

Thank you for that information. How to implement this behaviour in TUniLabel descendant; for example TUniAngleLabel? I would like component to behave just the way any other component would; ie. component is rotated in design time as well as in runtime.

Link to comment
Share on other sites

I'm sorry to be little bit hasty but I really need this information. Without proper documentation it's nearly impossible to develope custom components that descend from existing UniGUI components.

 

I've been searching net, but so far I haven't found enough information about this subject. For example, if I create TUniLabel descendant, there isn't public property canvas to be used. Also, I don't know what is proper way to create necessary JavaScript code for component. And no, links to pure ExtJS JavaScript examples aren't going to help much.

 

Even though UniGUI is very good in itself, this problem and lack of information may very well be deal breaker for us.

Link to comment
Share on other sites

I need to create label component which would have angle property. Component should be TUniLabel descendant and it should be able to display rotated text. I know that this can be accomlished using JS only but I need to create component for it because it's mandatory to be able to see this same behaviour in design time as well as run time.

Link to comment
Share on other sites

  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...