How to avoid scrollbars in p:layoutUnit?

Components, Ajax Framework, Utilities and More.
Post Reply
webmeiker
Posts: 106
Joined: 20 Dec 2011, 17:43

16 Jul 2012, 10:39

Hi,
What I should do to avoid scrollbars in one of the regions of my

Code: Select all

<p:layout fullPage="true">
panel?
Thanks!
PrimeFaces 3.4.2, Mojarra 2.0.6, Apache Tomcat/7.0.22

jamesarbrown
Posts: 22
Joined: 15 Dec 2010, 21:04

16 Jul 2012, 15:35

From memory overflow:hidden is how I stopped it.

Code: Select all

                <p:layoutUnit position="west" style="border:none; overflow:hidden; padding:none">
                    <ez:mainmenu_cc/>             
                </p:layoutUnit>

webmeiker
Posts: 106
Joined: 20 Dec 2011, 17:43

17 Jul 2012, 08:26

Finally I achieve that with:

Code: Select all

.ui-layout-north {                    
	overflow: visible !important;
}

.ui-layout-north .ui-layout-unit-content {
	overflow: visible !important;
}   
Thanks!
PrimeFaces 3.4.2, Mojarra 2.0.6, Apache Tomcat/7.0.22

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 4 guests