[Solved]SelectOneMenu field smaller than content
Posted: 30 Jun 2015, 12:18
Dear friends, I'm using sentinel 1.3. When I use <p:selectOneMenu > inside <div class="ContainerIndent"> I see that the size of the field is smaller than the content so I don't see the last 1/2 characters that are covered by the down-arrow..... my code is very simple:
Where is the problem ?
Code: Select all
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:pe="http://primefaces.org/ui/extensions"
template="/WEB-INF/template.xhtml">
<ui:define name="content">
<h:outputScript name="jquery/jquery.js" library="primefaces" target="head"/>
<div class="Container100">
<div class="ContainerIndent">
<h:form id="ProfiloViewForm">
<p:panel id="basic" header="Info" style="margin-bottom:20px">
<p:panelGrid columns="2" rendered="#{userController.selected != null}">
<p:selectOneMenu id="piede" value="#{userController.selected.profilo.piede}" >
<f:selectItem itemLabel="Seleziona" itemValue="" />
<f:selectItem itemLabel="Destro" itemValue="destro"/>
<f:selectItem itemLabel="Sinistro" itemValue="sinistro"/>
<f:selectItem itemLabel="Ambi-destro" itemValue="ambi-destro"/>
</p:selectOneMenu>
</p:panelGrid>
</p:panel>
</h:form>
</div>
</div>
</ui:define>
</ui:composition>