date button on dialog

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
spadovan
Posts: 178
Joined: 05 Jun 2013, 12:04

08 Feb 2017, 15:45

The date button displayed in a dialog is not overlapping perfectly the input item.

Code: Select all

	<p:dialog id="TipoFascicoloEditDlg" widgetVar="TipoFascicoloEditDialog" modal="true"
			  resizable="true" closeOnEscape="true" width="90%"
			  appendTo="@(body)" header="#{l.dettaglio}" footer="#{l.footer}" >
		<h:form id="TipoFascicoloEditForm">
			<div class="ui-fluid">
				<h:panelGroup id="display">
					<p:panelGrid columns="4" columnClasses="ui-grid-col-2,ui-grid-col-4,ui-grid-col-2,ui-grid-col-4"
								 layout="grid" styleClass="ui-panelgrid-blank"
								 rendered="#{tipoFascicoloController.selected != null}">
						<p:outputLabel value="#{l.id}" for="id" />
						<p:inputText id="id" value="#{tipoFascicoloController.selected.id}" required="false" disabled="true"/>

						<p:outputLabel value="#{l.dataFine}" for="dataFine" />
						<p:calendar id="dataFine" pattern="dd/MM/yyyy" value="#{tipoFascicoloController.selected.dataFine}" showOn="button" disabled="#{tipoFascicoloController.readonly}"/>
                                         </p:panelGrid>
				</h:panelGroup>
			</div>
		</h:form>
	</p:dialog>
[img]
http://imgur.com/a/7pgmg
[/img]
Primefaces 12.0.2, Wildfly 24.0.1, JDK 11

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

13 Feb 2017, 09:00

Please try;

Code: Select all

.ui-fluid .ui-calendar {
   height: 100%;
}

spadovan
Posts: 178
Joined: 05 Jun 2013, 12:04

13 Feb 2017, 11:03

It works, thanks
Primefaces 12.0.2, Wildfly 24.0.1, JDK 11

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

13 Feb 2017, 14:37

Glad to hear, thanks for the update!

Post Reply

Return to “Omega - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 20 guests