In general, we try not to overdesign things up front. I'd say let's start with 
the boolean and modify it later as needed.

On Dec 1, 2010, at 5:24 AM, Sandro Martini wrote:

> 
> Hi Greg, 
>> To add a new style, you just need to add a getter and setter to the skin
>> class. In this case, I imagine the property would be named "showEllipsis"
>> and would be a boolean. 
> Other than the boolean method to flag enable/disable (default) this feature,
> do you think it's good to have another flag for styling for example the
> ellipsis type (as post in JIRA comments) ?
> Or put all in a single style, like ellipsisType="none
> (default)|left|center|right" or other ?
> 
> And last, maybe another good style could be ellipsisChar to specify (if/when
> needed, for example by asian charset) a different character ... but I agree
> that this is could have small real use cases ...
> 
> I can link this feature in JIRA for the 2.1, ok ?
> 
> Comments ?
> 
> Bye,
> Sandro
> 
> 
> -- 
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/Label-long-text-ellipsis-tp1993593p1998201.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to