-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
p:layout and pe:layout do not work #72
Comments
Hi @Kameecoding, can you share any screenshot? I'm interested to see the use case of p:layout within admin-template because this template was supposed to replace p:layout. Thanks for reporting. |
I am unable to screenshot it atm, but there isn't anything to see there, it
doesn't render at all and all layout orientations have display: none; in css
…On Wed, May 23, 2018, 16:26 Rafael M. Pestano ***@***.***> wrote:
Hi @Kameecoding <https://github.com/Kameecoding>,
can you share any screenshot? I'm interested to see the use case of
p:layout within admin-template because this template was supposed to
replace p:layout.
Thanks for reporting.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATF4mqclS5KY2IZdFKtJwqfWxz11pic1ks5t1XGEgaJpZM4UIYL2>
.
|
I see but can you describe your usecase with p:layout? is it just to organize/align/position content? if yes I'd recommend bootstrap grid system or PrimeFaces grid css. If it is something else can you provide a sample page? |
I see the Don't know why it comes with visibility hidden but you can fix that with following css rule:
I don't know if it has any side effects. |
the use case is having a simple 2 pnael layout where right panel can be
closed abd the two panel can be resized horizontally,this cannot really be
achieved using the grid css, overriding the css doesn't make the components
work, just makes them visible
…On Wed, May 23, 2018, 19:17 Rafael M. Pestano ***@***.***> wrote:
I see the visibility:hidden comes from a css file provided by Primefaces,
AdminFaces theme doesn't style p:layout, see screenshot:
[image: screenshot from 2016-10-07 17-15-25]
<https://user-images.githubusercontent.com/1592273/40440221-d9c6f9fc-5e93-11e8-93f1-ea651189af65.png>
Don't know why it comes with visibility hidden but you can fix that with
following css rule:
<ui:define name="body">
<style type="text/css">
body .ui-layout-unit {
visibility: visible;
}
</style>
<p:layout style="min-width:400px;min-height:200px;">
<p:layoutUnit position="west" resizable="true" size="100" minSize="40" maxSize="200">
West
</p:layoutUnit>
<p:layoutUnit position="center">
Center
</p:layoutUnit>
</p:layout>
</ui:define>
I don't know if it has any side effects.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATF4miVjKj5GONK5yEBF5xdfwYryZq9Eks5t1Zm4gaJpZM4UIYL2>
.
|
This issue was moved to adminfaces/admin-theme#165 |
Issue Overview
p:layout and pe:layout do not work
Current Behaviour
Adding any of these layouts to the body doesn't work properly
Expected Behaviour
These should probably work
How to reproduce
Add a layout to the body,
Additional Information
The text was updated successfully, but these errors were encountered: