title: PrimeFaces p:selectOneMenu width
body: <p>I want <code>p:selectOneMenu</code> width to be auto regarding to the parent cell not regarding to the values it has.</p>
  
  <pre><code>&lt;p:panelGrid&gt;
      &lt;p:row&gt;
          &lt;p:column&gt;&lt;p:outputLabel value="Value01" for="idInput01"/&gt;&lt;/p:column&gt;
          &lt;p:column&gt;&lt;p:inputText  value="#{bean.input01}" id="idInput01" /&gt;&lt;/p:column&gt;
          &lt;p:column&gt;&lt;p:outputLabel value="Value02" for="idSelect" /&gt;&lt;/p:column&gt;
          &lt;p:column&gt;
              &lt;p:selectOneMenu value="#{bean.selectedObject}" id="idSelect" converter="objectConverter"&gt;
                  &lt;f:selectItems value="#{bean.objectsList}" var="varObject" itemLabel="#{varObject.label}" itemValue="#{varObject}" /&gt;
              &lt;/p:selectOneMenu&gt;
          &lt;/p:column&gt;
      &lt;/p:row&gt;
  &lt;/p:panelGrid&gt;
  </code></pre>
  
  <p><strong>What I've got :</strong></p>
  
  <p><img src="https://i.stack.imgur.com/pOYSb.png" alt="enter image description here"></p>
  
  <p><strong>What I'm expecting :</strong></p>
  
  <p><img src="https://i.stack.imgur.com/7WV7e.png" alt="enter image description here"></p>
  
  <p><strong>Note: I don't want to specify a fixed width.</strong></p>