Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1036773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:45:31+00:00 2026-05-16T14:45:31+00:00

once again I’ve got a question. Since I am using Google Web Toolkit (GWT)

  • 0

once again I’ve got a question. Since I am using Google Web Toolkit (GWT) at work (along with Java Servlets), I am currently building some user interface with GWT (in Java).

I’ve got some trouble though. I am using a SplitLayoutPanel which contains a ScrollPanel on the left and another one on the right.

In the left ScrollPanel there’s a VerticalPanel with several Labels, which differ in their width. What I want to accomplish, is: if the Label’s text doesn’t fit in one line, it should display as many characters as possible and have a “…” in the end, if it’s not fully displayed.

I am about to add a CustomEvent EventHandler for the Label, which can be fired whenever the Label needs to change its content. Now the problem however is, that I’d need to fire the event whenever the ScrollPanel or its inner VerticalPanel is resized (by dragging the SplitLayoutPanel-Splitter).

Now the question: is it possible to override some sort of “onResize”-Event or at least “onMouseMove”-Event inside the VerticalPanel, so that I could fire the “changeLabelSize()”-method for each Label inside of this VerticalPanel?

How would I go about it? Thank you all for your time in advance! Please ask for anything unclear, so I can clarify it.

Best regards,
Igor.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:45:32+00:00Added an answer on May 16, 2026 at 2:45 pm

    This can be done easily with the CSS property text-overflow: ellipsis;.

    Supported by IE7-, Safari and Konqueror.

    And it can be emulated in Firefox.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Once again a question about the garbage collector in actionscript-3: If I have a
Once again I'm doing Java graphics (Graphics2D) but I noticed there is no Polygon.Double
Once again a question about extjs. I use EXT 4.0.2 and have a couple
My apologies once again for asking another very junior question. For one reason or
i got a problem once again :D a little info first: im trying to
Once again, things work normally EXCEPT in IE6. Please look at http://bronautomotive.com/ to see
Once again I have hit the wall. How to replace escape characters using regular
Once again I have a question about Eclipselink/MOXy with external metadata mapping file. I
I need your expertise once again. I have a java class that searches a
Once again I have written some Javascript using jQuery, and it works in every

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.