09 December 2010

Keep af:inputText component width the same either when it is enable or read only

There is a nasty behavior on this component that which is to have different width when it is enable and when readonly. To fix this use contentStyle="width:70.0px property.



What is ContentStyle

According to JDevelopers help documentation ContentStyle is the style of the content piece of the component. You can style width by setting this attribute like this: width: 100px. 

No comments:

Post a Comment

You might also like:

Related Posts Plugin for WordPress, Blogger...