Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Softwaretools > Text field valu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3159 of 3276
Post > Topic >>

Text field value stretched based on the space occupied by character

by gsrinivas09@[EMAIL PROTECTED] Jan 23, 2008 at 09:06 PM

Hi,
I am currently working on jasperre****ts in my project.
I am facing a problem with text field alignment.
Here problem is if i display the long text in re****t text field then
it will stretch towords right.

I have already change the text field propreties as follows
width=175
Stretch Type=>No stretch
Align=>left
Line spacing=>single
Im****tently i Uncheck the "Stretch with overflow".

It is working fine when the text contains the cahrecters like
's','a',...(samll)
If text contains the charecters like 'f','y' then it will stretch to
words right.

The only solution i came
up with was to truncate the value if it was over 'x' characters and
display the rest as a tool-tip.

So,how can i truncate the value for 50 characters using iRe****t
tool.Please any body give me the procedure.

thanks,
ss
 




 1 Posts in Topic:
Text field value stretched based on the space occupied by charac
gsrinivas09@[EMAIL PROTEC  2008-01-23 21:06:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 15:04:25 CDT 2008.