This content has been marked as final. Show 4 replies
Sue,1 person found this helpful
a panelGroupLayout does not stretch its children >
This component can be stretched by a parent layout component that stretches its children, e.g. panelStretchLayout if:
This component cannot be stretched by a parent layout component that stretches its children if:
This component does not stretch its children.>
Try a panleStrechLayout with a panelGroupLayout in type scroll...
Thanks for the reply Timo.
The issue is right now I am using a Panel Stretch Layout as a parent component and within that is one more Panel Stretch Layout, here I am using Panel Stretch Layout again as a child instead of a group layout because I am using all the facets (top, bottom,start,end) in the Stretch layout right now which I require.
And this is stretching the page to fit any browser but the only issue is if the browser window is reduced, instead of giving a scroll bar by default it just collapses everything within in a messy way. Please let me know a solution to this.
If you want scroll bars to appear use a panelGroupLayout set to scroll with styleClass="AFStretchWidth"
Put it in the center facet of a panelStretchLayout.
Try putting a panelGroupLayout with layout="scroll". This should get you scroll bars when the content inside the panelGroupLayout is bigger then the available area.