Monday, 19 March 2012

RichFaces 4 rich:inputNumberSpinner Width

Trying to set the width of the rich:inputNumberSpinner control doesn't work with the 'width=' parameter, and using 'style="width: 24px"' produces odd results.

Setting up a style class - e.g. '.small {width: 18px;}' and then using it as follows does produce the correct result:

<rich:inputNumberSpinner inputClass="small"/>

No comments:

Post a Comment

About Me

My photo
Blog to record technical tips regarding web application development using JSF, NetBeans, MySQL and RichFaces.

Search This Blog