Page 1 of 1

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

Posted: 06 Nov 2019, 00:21
by vished
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