1 Reply Latest reply on Sep 9, 2008 2:00 PM by shadowcreeper

    how to make resizeable panel

    Michal Rost Newbie

      Hi i have problem with rich:panel width in my layout... in template.xhtml i have folloving code:

      ...
      
      <style type="text/css">
      .col {
       vertical-align: top;
      }
      </style>
      
      ...
      
      <div class="body">
       <h:panelGrid columns="2" width="100%" columnClasses="tpanels, col">
       <rich:panel style="min-width:240px; max-width:240px">
       <f:facet name="header"></f:facet>
       <ui:include src="sidemenu.xhtml"></ui:include>
       </rich:panel>
       <rich:panel style="min-width:600px;width: auto;">
       <f:facet name="header"></f:facet>
       <ui:insert name="body" />
       </rich:panel>
       </h:panelGrid>
      </div>
      
      ...


      The first panel contains page with menu and the second panel contains a current page, i want this page to have minimum size 600px but i also want this page/panel to fill all unused space in higher resolutions (to resize dynamically)... but it always stays on 600px and wont resize :(.
      Could you help me please?