Panel with 'options' facet, the 'options' icon is not visible

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
lucialucia
Posts: 1
Joined: 14 May 2019, 21:38

08 Jun 2019, 18:17

Hi,
it seems there is an issue using a panel with the 'options' facet.

The issue is that the icon related to the panel 'options' is not visible.
The 'options' icon is displayed only in case of mouse over.

Here is a sample where we have the problem:

<p:panel header="klsdfélj">
...
<f:facet name="options">
<p:menu>
<p:submenu label="Settings">
<p:menuitem value="Toggle" url="#" icon="pi pi-clone" onclick="PF('panel').toggle()" />
<p:menuitem value="Remove" url="#" icon="pi pi-times" onclick="PF('panel').close()" />
</p:submenu>
</p:menu>
</f:facet>
</p:panel>

Best regards

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

10 Jun 2019, 14:36

Serenity, Ultima and Barcelona are Material Layouts. Therefore, I suggest you use Material icons. We override all icons using Material icons code in core. Please see the "Icons" section; https://www.primefaces.org/serenity/utils.xhtml

Best Regards,

Post Reply

Return to “Serenity - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests