[richfaces-issues] [JBoss JIRA] (RF-10782) Input components: add attribute "width"

Andreas Panagiotidis (JIRA) jira-events at lists.jboss.org
Fri Mar 1 09:52:56 EST 2013


    [ https://issues.jboss.org/browse/RF-10782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757826#comment-12757826 ] 

Andreas Panagiotidis commented on RF-10782:
-------------------------------------------

I find the following quite elegant and it is definitely a work around
 
<rich:select styleClass="rf-select-small-width" ...>
   <f:selectItems value="#{bean...}"/>
</rich:select>

css:

.rf-select-small-width input[type="text"] {
    width: 50px;
}

It works fine for me and I highly recommend it.
Tested with RichFaces version 4.3.0.Final
                
> Input components: add attribute "width"
> ---------------------------------------
>
>                 Key: RF-10782
>                 URL: https://issues.jboss.org/browse/RF-10782
>             Project: RichFaces
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: component, component-input
>    Affects Versions: 4.0.0.Final
>            Reporter: Gleb Galkin
>             Fix For: 5-Future
>
>
> For input components we can define width using attribute style. For more description see the linked issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list