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

InputField width = X%

Hello!

I've got a form, where many types of elements are used. But there is a small problem with InputFields - how could I specify that the field will take whole width of the column in a GridLayout - for other components I just specify width=100%, but InputField doesn't have the propery, layoutProperies/width has no effect.

Only "length" property defines how broad the field will be, but I don't know how to calculate the value in a view...

It would be also ok to use TextArea instead - but I can't find a way to disable vertical scrollbar for the element.

Any help will be appreciated!

Thank you!

Best regards,

Nick

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2005 at 12:07 PM

    Which Web Dynpro version are you using?

    In current versions, the input field has a width property of type CSS size, so you can also set a percentage value.

    By the way, you should generally use MatrixLayout instead of GridLayout.

    Armin

    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.