0 Replies Latest reply on Mar 20, 2008 9:35 AM by nimo22

    white space between tab and tool bar ???

    nimo22

      Hello,

      having the following problem:

      I have a "rich:toolBar" inside a "rich:tabPanel".

      Unfortunately, in the UI there is a space between the tabPanel and the toolBar.

      How can I delete the space between tabPanel and the toolBar??

      Thanks for help!

      <?xml version="1.0" encoding="UTF-8"?>
      
      <jsp:root
       xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core">
      
      
       <jsp:directive.page contentType="text/html" pageEncoding="UTF-8"/>
      
       <!-- any content can be specified here, e.g.: -->
       <jsp:element name="text">
       <jsp:attribute name="lang">EN</jsp:attribute>
       <jsp:body>
       <f:view>
       <a4j:form>
      
      
       <rich:tabPanel headerSpacing="0" width="40%" headerAlignment="left">
      
       <!-- Tab Operationen -->
       <rich:tab label="Tab 1">
      
       <!-- Toolbar für Sendungsverwaltung und Produktionsverwaltung -->
       <rich:toolBar itemSeparator="grid">
      
       <!-- Menu Sendungsverwaltung -->
       <rich:dropDownMenu value="DropDownMenu" direction="bottom-right" jointPoint="bl">
      
       <!-- Menu Applikation -->
       <rich:menuGroup value="MenuGroup1" showDelay="0">
       <rich:menuItem submitMode="ajax" value="MenuItem 1"/>
       <rich:menuItem submitMode="ajax" value="MenuItem 2" />
       <rich:menuItem submitMode="ajax" value="MenuItem 3" />
       </rich:menuGroup>
      
       <!-- Menu Sendung -->
       <rich:menuGroup value="MenuGroup2" showDelay="0">
       <rich:menuItem submitMode="ajax" value="MenuItem 1"/>
       <rich:menuItem submitMode="ajax" value="MenuItem 2" />
       <rich:menuItem submitMode="ajax" value="MenuItem 3" />
       </rich:menuGroup>
      
       </rich:dropDownMenu>
      
       </rich:toolBar>
      
       </rich:tab>
      
       <!-- Tab Verwaltung -->
       <rich:tab label="Tab 2">
      
       <!-- Toolbar für Verwaltung -->
       <rich:toolBar>
      
       <!-- Menu Einrichten -->
       <rich:dropDownMenu value="DropDownMenu" direction="bottom-right" jointPoint="bl">
      
       <rich:menuItem submitMode="ajax" value="Menu"/>
      
       </rich:dropDownMenu>
      
       </rich:toolBar>
      
       </rich:tab>
      
       </rich:tabPanel>
       </a4j:form>
       </f:view>
       </jsp:body>
       </jsp:element>
      
      </jsp:root>