How to make text of labels/buttons "no wrap" in Web Client

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

How to make text of labels/buttons "no wrap" in Web Client

Postby rossent » Fri Nov 16, 2012 10:10 am

In Smart Client, if the text which is displayed in a label or button exceeds the length of the control, the text gets "trimmed" with the "..." indication at the end. This is very good because when the text is localized, certain translations can be too long but the user can still see the first part of the text and there is a good indication that the displayed text is not the actual full text.
In the Web Client, the text wraps on a new line and depending on the height of the control, the text may become unreadable or the text could be wrapped in such a way that the users do not realize that they are not seeing the full text. Is there a way to set a "nowrap" property for certain labels and buttons in the Web Client?
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: How to make text of labels/buttons "no wrap" in Web Clie

Postby jcompagner » Fri Nov 30, 2012 6:42 pm

i kind of thought we did that already by default.
But you are saying that buttons and labels do wrap? Make a case for that so that we can look into that.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: How to make text of labels/buttons "no wrap" in Web Clie

Postby rossent » Fri Nov 30, 2012 8:32 pm

Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm


Return to How To

Who is online

Users browsing this forum: No registered users and 2 guests