Skip to Content
author's profile photo Former Member
Former Member

How to stretch input field according to its input at runtime

Hi,

My WD APplication includes an InputField element.

The content in it is filled with strings from the backend.

The thing is, that the size of the strings differs dramatically when changing the locale, and therefore I cannot set a fixed width for it.

Is it possible to make the size dynamic, in a way that it will grow/shrink according to the size of the text in it?

I had the same problem with the dropdown list, but It was solved after I removed the fixed size from the property width...

For some reason it is not working for InputField.

Please advise.

Best Regards,

Oren.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 08:30 AM

    Hi,

    Create an attribute and map this to the length property of the inputField.

    Regards

    Ayyapparaj

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.