If i change the Spinner width like below only the up/down arrow place is changed-the text area remains as default, how do i change the size of the spinner -including the text area.
<p:spinner id="spinnerBasic" style="width:50px;"/>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Primefaces spinner is a compound component consisting of a text field and the control elements. All this will be rendered inside a
<span>.If you only want to change the size of the text input, the
p:spinnerhas a size attribute:From the primefaces documentation:
The corresponding css class is
ui-spinner-input. Changing thewidthattribute of this class to get the desired changes.