Hi island people :-)

I have some trouble understanding how layouting works: (you can see the
trouble in images (attached)).
All the scrollbars you see result from the following simple snippet : (the
orange background can even be removed: I tried to remove the outer scroll by
enforcing the box to be smaller)


                  <tc:tabGroup>



                        <tc:tab label="#{i18n.planning}">

                             <f:facet name="layout">

                                   <tc:gridLayout rows="160px" />

                             </f:facet>



                             <tc:box id="taskTablePanel">

                                   <f:facet name="toolBar">

                                         <tc:toolBar>

                                               <tc:toolBarCommand

                                                     image="image/new.GIF"

                                                     action="#{
contractCtrl.newTaskCmd}"

                                                     tip="|nouvelle tache">

                                               </tc:toolBarCommand>

                                         </tc:toolBar>

                                   </f:facet>

                                   <f:facet name="layout">

                                         <tc:gridLayout rows="130px" />

                                   </f:facet>



                                   <ui:include src="/contract/taskTable.xhtml"
/>



                             </tc:box>

                        </tc:tab>

In my include I have directly a tc:sheet. I've also attempted to use
pagingLength="3" to have the table max size smaller, the table continues
to show more than 3 rows at a time.
Can you please send me to a doc where i can have a better understanding of
how sizes are computed?


Regards,
Zied

<<attachment: table.PNG>>

Reply via email to