1 Reply Latest reply on Dec 4, 2008 1:08 PM by abelevich

    Controlling Width of InplaceInput

      Hello,

      What's a good way to control the width of an InplaceInput field?
      For example suppose I have city/state/zip fields I want to show on one
      line but I want to control the individual widths of each field?

      I notice that inplaceInput respondes to a style 'width' parameter in block mode but not in inline layout mode.

       <rich:inplaceInput
       value="#{city}"
       styleClass="editable" viewClass="editable" editClass="editable"
       style="width:100px"
       defaultLabel="(City)">
       </rich:inplaceInput>
      


      This looks like it should work--then I can do likewise for state and zip, but it doesn't render 100 px wide.

      All of the width-type parameters in the widget itself seem geared towards the width of the edit box--this works fine.

      Any ideas appreciated.