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

Post Reply
Posts: 445
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}" />

Many thanks
PF 8.0

Posts: 4123
Joined: 29 Jun 2013, 12:38

20 Dec 2019, 16:24


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 1 guest