Size of labels in WebClient, Servoy 6?

Forum to discuss the Web client version of Servoy.

Size of labels in WebClient, Servoy 6?

Postby norbert » Tue Sep 27, 2011 2:52 pm

We are currently migrating/testing our WebClient-only application in Servoy 6 (.0.1).
We saw one big difference with respect to labels placed on forms: If the text in a label is larger than the space reserved for this label,
the text is not cut off (see picture attached). We would like the text in the label to be cut off when it reaches its configured size
(like it was the case with Servoy 5.2.10)
In Servoy 5.2.10, labels were placed in a <div> element and in Servoy 6, labels are placed in a <spans> element in a <div>, which
Is it possible to make the label cut off its text when the text is bigger than the size of the label?
You do not have the required permissions to view the files attached to this post.
User avatar
norbert
 
Posts: 24
Joined: Tue Apr 26, 2011 5:24 pm
Location: Almere

Re: Size of labels in WebClient, Servoy 6?

Postby abeermann » Fri Sep 30, 2011 2:24 pm

+ 1
abeermann
 
Posts: 102
Joined: Fri Nov 26, 2010 12:46 pm

Re: Size of labels in WebClient, Servoy 6?

Postby norbert » Fri Sep 30, 2011 2:51 pm

We circumvented the problem by adding a style class to the external css:
span
{
overflow: hidden !important;
}
A littlebit ugly, but it works for now.
User avatar
norbert
 
Posts: 24
Joined: Tue Apr 26, 2011 5:24 pm
Location: Almere

Re: Size of labels in WebClient, Servoy 6?

Postby jcompagner » Mon Oct 03, 2011 11:36 am

did anybody make a case for this?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8049
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Size of labels in WebClient, Servoy 6?

Postby norbert » Mon Oct 03, 2011 1:55 pm

Submitted case 421723
User avatar
norbert
 
Posts: 24
Joined: Tue Apr 26, 2011 5:24 pm
Location: Almere

Re: Size of labels in WebClient, Servoy 6?

Postby lvostinar » Mon Oct 17, 2011 12:54 pm

Couldn't reproduce this, can you attach a small sample? (https://support.servoy.com/browse/SVY-44)
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1048
Joined: Tue Feb 19, 2008 10:53 am


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 1 guest

cron