I thought a bit more about this and I think you can already achieve it
without that big selector of yours. Have you tried the following?

af|panelBorderLayout
{
  height: 100%;
  min-height: 100%;
}

This should make the outer table big enough ans the cells inside should
stretch accordingly, note that I did not test it though.


Regards,

~ Simon

On 8/10/07, Simon Lessard <[EMAIL PROTECTED]> wrote:
>
> Nvm that, I misunderstood your requirement...
>
> Maybe we should add selectors like af|panelBorderLayout::start-block,
> af|panelBorderLayout::inner-start-block, etc.
>
>
> Regards,
>
> ~ Simon
>
> On 8/10/07, Simon Lessard <[EMAIL PROTECTED]> wrote:
> >
> > Hello Stephen,
> >
> > Have you tried innerStart facet as well by any chance?
> >
> > On 8/10/07, Stephen Friedrich <[EMAIL PROTECTED] > wrote:
> > >
> > > I used a panelBorderLayout to layout my page.
> > > The left facet contains a panelBox for navigation.
> > > Unfortunately the rendering of panelBorderLayout makes it very hard
> > > to have my navigation panelBox 100% height (which is a client
> > > requirement).
> > > panelBorderLayout puts the "left" facet in a <td>, but that cell does
> > > not have 100% set.
> > > Therefore setting the cell's content (my panelBox) to height:100%
> > > has no effect at all.
> > >
> > > Heavy usage of firebug resulted in a solution, but that is hacky and
> > > only
> > > works in firefox:
> > > Set a style class: <tr:panelBorderLayout styleClass="myPanelBorder">
> > > Use child selectors to modify the td height:
> > >         .myPanelBorder > tbody > tr > td {
> > >                 height: 100%;
> > >         }
> > >
> > > Isn't that ugly.
> > > Two possible soltuions:
> > > - Change the panelBorderLayout render, so that it always gives the
> > > td's
> > > height:100%. I don't see any disadvantages in that. The child (facet)
> > > is then free to use that height or not.
> > >
> > > - Make the panelBorderLayout skinnable.
> > >
> > > What do you think?
> > >
> >
> >
>

Reply via email to