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

Post Reply
vished
Posts: 403
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

aragorn
Posts: 3863
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 0 guests