on 06-17-2006 5:26 AM
Hi guys,
In my webdynpro view, there are many inputfields. For most of them, the text in the inputfield start from left, but there are one inputfield start from right to left. The context bind to this inputfield is a number type, is that the reason?
How to change the align of text in InputField?Thank you very much!
Regards,
Xiaoming Yang
Yes, the alignment is determined by the runtime from the data type of the context attribute to which the InputField.value property is bound.
This gives you a consistent look automatically. You can set the alignment using the InputField.alignment property (type WDInputFieldAlignment), see <a href="https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDAbstractInputField.html#setAlignment(com.sap.tc.webdynpro.clientserver.uielib.standard.api.WDInputFieldAlignment)">here</a>.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.