Icon in Layout Unit not visible

Post Reply
edivaldoivan
Posts: 1
Joined: 16 Oct 2016, 11:59

28 May 2020, 22:36

Hi,

When i set collapsible property true, the arrow to toggle on the component is not showing.

This is the .xhtml code:

<p:layout fullPage="true" style="min-height: 800px">
<p:layoutUnit position="west" size="280" header="Menu" collapsible="true" >
<ui:include src="Masters/Menu.xhtml" />
</p:layoutUnit>
.....
</p:layout>

I cant figure out what i am doing wrong.

Regards

aragorn
Posts: 4042
Joined: 29 Jun 2013, 12:38

03 Jun 2020, 10:38

Hi,

Firstly, p:layout component is deprecated. Please see; https://www.primefaces.org/showcase/ui/ ... ment.xhtml
I recommend not using it. Please use new generation Flex or Grid CSS structures;
https://www.primefaces.org/showcase/ui/ ... Grid.xhtml
https://www.primefaces.org/showcase/ui/panel/grid.xhtml

Please try;

Code: Select all

<style>
    .ui-icon-triangle-1-c:before {
        content: "\e315";
    }
</style>
Best Regards,

Post Reply

Return to “Serenity - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest