Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 91357 invoked from network); 30 Nov 2010 16:31:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Nov 2010 16:31:12 -0000 Received: (qmail 20706 invoked by uid 500); 30 Nov 2010 16:31:11 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 20643 invoked by uid 500); 30 Nov 2010 16:31:10 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 20635 invoked by uid 99); 30 Nov 2010 16:31:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 16:31:10 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gk_brown@verizon.net designates 206.46.173.11 as permitted sender) Received: from [206.46.173.11] (HELO vms173011pub.verizon.net) (206.46.173.11) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 16:31:01 +0000 Received: from [192.168.1.10] ([unknown] [98.110.173.176]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LCP00AVVHUTDHS1@vms173011.mailsrvcs.net> for user@pivot.apache.org; Tue, 30 Nov 2010 10:30:30 -0600 (CST) From: Greg Brown MIME-version: 1.0 (Apple Message framework v1082) Content-type: multipart/alternative; boundary=Apple-Mail-2--705182994 Subject: Re: Label long text ellipsis Date: Tue, 30 Nov 2010 11:30:29 -0500 In-reply-to: To: user@pivot.apache.org References: Message-id: X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-2--705182994 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Eugene, Unfortunately, the ellipsis style is not currently supported. There is = an open issue to add this feature: https://issues.apache.org/jira/browse/PIVOT-623 You could certainly modify LabelSkin to add this functionality. If you = do so, please consider submitting your changes for inclusion in the = platform. Thanks, Greg On Nov 30, 2010, at 11:25 AM, Eugene Kondrashev wrote: > Hi > I wonder if Label has something like text-overflow: ellipsis css like = attributes? >=20 > =46rom the LabelSkin sources i found that there is no logic to do = that. >=20 > Can you help me please achieving my goal. I need long text elipsis for = the Label, so tell me if I've ommited something from th OOB behavior or = if there is no mechanizm to do that, how can i implement it myself? > I guess I need to implement my own LabelSkin that will have exactly = the same code except public layout() method where glyphVectors is build. >=20 > Any help appriciated, >=20 > thanks, > Eugene --Apple-Mail-2--705182994 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
Hi Eugene,

Unfortunately, the ellipsis style is not currently supported. There is an open issue to add this feature:

https://issues.apache.org/jira/browse/PIVOT-623

You could certainly modify LabelSkin to add this functionality. If you do so, please consider submitting your changes for inclusion in the platform.

Thanks,
Greg

On Nov 30, 2010, at 11:25 AM, Eugene Kondrashev wrote:

Hi
I wonder if Label has something like text-overflow: ellipsis css like attributes?

From the LabelSkin sources i found that there is no logic to do that.

Can you help me please achieving my goal. I need long text elipsis for the Label, so tell me if I've ommited something from th OOB behavior or if there is no mechanizm to do that, how can i implement it myself?
I guess I need to implement my own LabelSkin that will have exactly the same code except public layout() method where glyphVectors is build.

Any help appriciated,

thanks,
Eugene

--Apple-Mail-2--705182994--