p:overlayPanel - text is longer than width, how can this be fixed?

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
vished
Posts: 479
Joined: 02 Feb 2014, 17:38

06 Nov 2019, 00:21

Hi all,

I have the following code.
My text is very long. The overlayPanel is defined as 600px width, but the text is more than 600px and it´s not in the panel than anymore.
How can I fix this?

<p:overlayPanel id="overlayPanel" for="subjectPanel"
style="width: 600px; " showEvent="mouseover"
hideEvent="mouseout" dismissable="true">
<h:outputText value="#{ticket.description}" />
</p:overlayPanel>

Many thanks
PF 8.0

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

20 Dec 2019, 16:24

Hi,

Could you please try it after adding overflow:auto style to overlayPanel?

Best Regards,

Post Reply

Return to “Morpheus - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests