Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eliminate the elements that separates primefaces layoutUnit after generate html

Is it possible to eliminate or edit the elements that separates primefaces layoutUnit elements (top, west, center, etc)? These elements have id ending with -resizer

I can't find which class do it in primefaces-3.1.1.jar.

For example, when element layoutUnit west after generate into html has the css attribute

position: absolute;
left: 0px;
width: 94px;

then the right layoutUnit after generate into html element has the css attribute

position: absolute;
left: 107px; 

because between them is generated resizer element(div) with attributes

position: absolute;
left: 100px;
width: 6px;

How can I avoid this effect?

like image 498
bmlynarczyk Avatar asked Mar 02 '26 06:03

bmlynarczyk


2 Answers

Use gutter attribute. Set it to zero

like image 182
alex.parej Avatar answered Mar 03 '26 20:03

alex.parej


After much toiling i did this and it worked just like that. Resizers are gone. Add this to your css

.ui-layout-resizer, .ui-layout-resizer-north, .ui-layout-resizer-open, .ui-layout-resizer-north-open{ height:0px !important; }

like image 31
Jason H Avatar answered Mar 03 '26 20:03

Jason H



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!