myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1138526 - in /myfaces/tobago/trunk: tobago-core/src/main/java/org/apache/myfaces/tobago/component/ tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/ tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/...
Date Wed, 22 Jun 2011 16:09:29 GMT
Author: lofwyr
Date: Wed Jun 22 16:09:29 2011
New Revision: 1138526

URL: http://svn.apache.org/viewvc?rev=1138526&view=rev
Log:
TOBAGO-828: Make Sheet work with new LayoutManager
 - enable to set padding on tc:column by theme
 - the padding can differ dependen by the content, if the content is e.g. tc:out there is
a padding, if the content is e.g. tc:in, you may don't want to have a padding. This is solved
by the markup "pure".

Added:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutBox.java
      - copied, changed from r1138354, myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContainer.java
Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/RendererTypes.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIColumn.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheetLayout.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/LayoutUtils.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ColumnTagDeclaration.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContainer.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/AbstractRendererBaseWrapper.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/RendererBase.java
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/sheet/sheet-types.xhtml
    myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ColumnRenderer.java
    myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java
    myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/RendererTypes.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/RendererTypes.java?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/RendererTypes.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/RendererTypes.java
Wed Jun 22 16:09:29 2011
@@ -27,6 +27,7 @@ public final class RendererTypes {
   public static final String BUTTON = "Button";
   public static final String CALENDAR = "Calendar";
   public static final String CELL = "Cell";
+  public static final String COLUMN = "Column";
   public static final String COLUMN_SELECTOR = "ColumnSelector";
   public static final String COMMAND = "Command";
   public static final String DATE = "Date";

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIColumn.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIColumn.java?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIColumn.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIColumn.java
Wed Jun 22 16:09:29 2011
@@ -17,9 +17,12 @@ package org.apache.myfaces.tobago.intern
  * limitations under the License.
  */
 
+import org.apache.myfaces.tobago.layout.LayoutBox;
+
 import javax.faces.component.UIColumn;
 
-public abstract class AbstractUIColumn extends UIColumn {
+public abstract class AbstractUIColumn extends UIColumn implements LayoutBox {
 
   public abstract String getWidth();
+
 }

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheetLayout.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheetLayout.java?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheetLayout.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheetLayout.java
Wed Jun 22 16:09:29 2011
@@ -167,11 +167,15 @@ public abstract class AbstractUISheetLay
     for (LayoutComponent component : sheet.getComponents()) {
 
       if (component != null) {
+        AbstractUIColumn column = (AbstractUIColumn) ((UIComponent)component).getParent();
+
         component.setDisplay(Display.BLOCK); // TODO: use CSS via classes and style.css
 
         Measure width = Measure.valueOf(widthList.get(index));
-        width = width.subtractNotNegative(LayoutUtils.getBorderBegin(orientation, sheet));
-        width = width.subtractNotNegative(LayoutUtils.getBorderEnd(orientation, sheet));
+        width = width.subtractNotNegative(LayoutUtils.getBorderBegin(orientation, column));
+        width = width.subtractNotNegative(LayoutUtils.getPaddingBegin(orientation, column));
+        width = width.subtractNotNegative(LayoutUtils.getPaddingEnd(orientation, column));
+        width = width.subtractNotNegative(LayoutUtils.getBorderEnd(orientation, column));
         component.setCurrentWidth(width);
 
         // compute the position of the cell

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/LayoutUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/LayoutUtils.java?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/LayoutUtils.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/LayoutUtils.java
Wed Jun 22 16:09:29 2011
@@ -18,6 +18,7 @@ package org.apache.myfaces.tobago.intern
  */
 
 import org.apache.myfaces.tobago.layout.LayoutBase;
+import org.apache.myfaces.tobago.layout.LayoutBox;
 import org.apache.myfaces.tobago.layout.LayoutComponent;
 import org.apache.myfaces.tobago.layout.LayoutContainer;
 import org.apache.myfaces.tobago.layout.Measure;
@@ -70,19 +71,19 @@ public final class LayoutUtils {
     }
   }
 
-  public static Measure getBorderEnd(Orientation orientation, LayoutContainer container)
{
+  public static Measure getBorderEnd(Orientation orientation, LayoutBox container) {
     return orientation == Orientation.HORIZONTAL ? container.getBorderRight() : container.getBorderBottom();
   }
 
-  public static Measure getBorderBegin(Orientation orientation, LayoutContainer container)
{
+  public static Measure getBorderBegin(Orientation orientation, LayoutBox container) {
     return orientation == Orientation.HORIZONTAL ? container.getBorderLeft() : container.getBorderTop();
   }
 
-  public static Measure getPaddingEnd(Orientation orientation, LayoutContainer container)
{
+  public static Measure getPaddingEnd(Orientation orientation, LayoutBox container) {
     return orientation == Orientation.HORIZONTAL ? container.getPaddingRight() : container.getPaddingBottom();
   }
 
-  public static Measure getPaddingBegin(Orientation orientation, LayoutContainer container)
{
+  public static Measure getPaddingBegin(Orientation orientation, LayoutBox container) {
     return orientation == Orientation.HORIZONTAL ? container.getPaddingLeft() : container.getPaddingTop();
   }
 

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ColumnTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ColumnTagDeclaration.java?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ColumnTagDeclaration.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ColumnTagDeclaration.java
Wed Jun 22 16:09:29 2011
@@ -24,11 +24,13 @@ import org.apache.myfaces.tobago.apt.ann
 import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
 import org.apache.myfaces.tobago.component.ComponentTypes;
 import org.apache.myfaces.tobago.component.Facets;
+import org.apache.myfaces.tobago.component.RendererTypes;
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasCurrentMarkup;
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRendered;
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasLabel;
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasMarkup;
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasTip;
+import org.apache.myfaces.tobago.internal.taglib.declaration.IsGridLayoutContainer;
 
 /**
  * Renders a UIComponent that represents a single column of data within a
@@ -39,6 +41,7 @@ import org.apache.myfaces.tobago.interna
     uiComponent = "org.apache.myfaces.tobago.component.UIColumn",
     uiComponentBaseClass = "org.apache.myfaces.tobago.internal.component.AbstractUIColumn",
     componentType = ComponentTypes.COLUMN,
+    rendererType = RendererTypes.COLUMN,
     facets = {
         @Facet(name = Facets.MENUPOPUP, description = "Deprecated. Please use dropDownMenu
facet.",
             allowedChildComponenents = "org.apache.myfaces.tobago.Menu"),
@@ -46,7 +49,8 @@ import org.apache.myfaces.tobago.interna
             + " (not implemented yet, work in progress)", // XXX
             allowedChildComponenents = "org.apache.myfaces.tobago.Menu")
     })
-public interface ColumnTagDeclaration extends HasIdBindingAndRendered, HasLabel, HasTip,
HasMarkup, HasCurrentMarkup {
+public interface ColumnTagDeclaration
+    extends HasIdBindingAndRendered, HasLabel, HasTip, HasMarkup, HasCurrentMarkup, IsGridLayoutContainer
{
   /**
    * Alignment of this column.
    */

Copied: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutBox.java
(from r1138354, myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContainer.java)
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutBox.java?p2=myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutBox.java&p1=myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContainer.java&r1=1138354&r2=1138526&rev=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContainer.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutBox.java
Wed Jun 22 16:09:29 2011
@@ -17,19 +17,9 @@ package org.apache.myfaces.tobago.layout
  * limitations under the License.
  */
 
-import java.util.List;
+import org.apache.myfaces.tobago.config.Configurable;
 
-public interface LayoutContainer extends LayoutBase {
-
-  List<LayoutComponent> getComponents();
-
-  LayoutManager getLayoutManager();
-  void setLayoutManager(LayoutManager layoutManager);
-
-  /**
-   * Should the children of the this component be laid out from the given layout manager.
-   */
-  boolean isLayoutChildren();
+public interface LayoutBox extends Configurable {
 
   Measure getBorderLeft();
   void setBorderLeft(Measure borderLeft);
@@ -55,9 +45,4 @@ public interface LayoutContainer extends
   Measure getPaddingBottom();
   void setPaddingBottom(Measure paddingBottom);
 
-  boolean isOverflowX();
-  void setOverflowX(boolean overflowX);
-
-  boolean isOverflowY();
-  void setOverflowY(boolean overflowY);
 }

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContainer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContainer.java?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContainer.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContainer.java
Wed Jun 22 16:09:29 2011
@@ -19,7 +19,7 @@ package org.apache.myfaces.tobago.layout
 
 import java.util.List;
 
-public interface LayoutContainer extends LayoutBase {
+public interface LayoutContainer extends LayoutBox, LayoutBase {
 
   List<LayoutComponent> getComponents();
 
@@ -31,30 +31,6 @@ public interface LayoutContainer extends
    */
   boolean isLayoutChildren();
 
-  Measure getBorderLeft();
-  void setBorderLeft(Measure borderLeft);
-
-  Measure getBorderRight();
-  void setBorderRight(Measure borderRight);
-
-  Measure getBorderTop();
-  void setBorderTop(Measure borderTop);
-
-  Measure getBorderBottom();
-  void setBorderBottom(Measure borderBottom);
-
-  Measure getPaddingLeft();
-  void setPaddingLeft(Measure paddingLeft);
-
-  Measure getPaddingRight();
-  void setPaddingRight(Measure paddingRight);
-
-  Measure getPaddingTop();
-  void setPaddingTop(Measure paddingTop);
-
-  Measure getPaddingBottom();
-  void setPaddingBottom(Measure paddingBottom);
-
   boolean isOverflowX();
   void setOverflowX(boolean overflowX);
 

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/AbstractRendererBaseWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/AbstractRendererBaseWrapper.java?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/AbstractRendererBaseWrapper.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/AbstractRendererBaseWrapper.java
Wed Jun 22 16:09:29 2011
@@ -46,7 +46,7 @@ public abstract class AbstractRendererBa
     return getRenderer(FacesContext.getCurrentInstance()).getPrepareRendersChildren();
   }
   @Override
-  public final void prepareRendersChildren(FacesContext context, UIComponent component) {
+  public final void prepareRendersChildren(FacesContext context, UIComponent component) throws
IOException {
     getRenderer(context).prepareRendersChildren(context, component);
   }
 

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/RendererBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/RendererBase.java?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/RendererBase.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/RendererBase.java
Wed Jun 22 16:09:29 2011
@@ -60,7 +60,7 @@ public class RendererBase extends Render
     return false;
   }
 
-  public void prepareRendersChildren(FacesContext context, UIComponent component) {
+  public void prepareRendersChildren(FacesContext context, UIComponent component) throws
IOException {
   }
 
   /**

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/sheet/sheet-types.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/sheet/sheet-types.xhtml?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/sheet/sheet-types.xhtml
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/sheet/sheet-types.xhtml
Wed Jun 22 16:09:29 2011
@@ -29,8 +29,8 @@
       <tc:column label="&lt;tc:out>" id="out">
         <tc:out value="#{luminary.name}"/>
       </tc:column>
-      <tc:column label="&lt;tc:in>" id="in">
-        <tc:in value="#{luminary.name}"/>
+      <tc:column label="&lt;tc:in>" id="c_in">
+        <tc:in value="#{luminary.name}" id="in"/>
       </tc:column>
       <tc:column label="&lt;tx:date>" id="date">
         <tx:date/>

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ColumnRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ColumnRenderer.java?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ColumnRenderer.java
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ColumnRenderer.java
Wed Jun 22 16:09:29 2011
@@ -17,13 +17,51 @@ package org.apache.myfaces.tobago.render
  * limitations under the License.
  */
 
+import org.apache.myfaces.tobago.component.UIColumn;
+import org.apache.myfaces.tobago.component.UILink;
+import org.apache.myfaces.tobago.component.UIOut;
+import org.apache.myfaces.tobago.context.Markup;
 import org.apache.myfaces.tobago.renderkit.LayoutComponentRendererBase;
 
-/*
- * Date: Jul 22, 2007
- * Time: 9:32:22 PM
- */
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import java.io.IOException;
+
 public class ColumnRenderer extends LayoutComponentRendererBase {
+
+  @Override
+  public void prepareRender(FacesContext facesContext, UIComponent component) throws IOException
{
+    super.prepareRender(facesContext, component);
+
+    final UIColumn column = (UIColumn) component;
+    if (isPure(column)) {
+      column.setCurrentMarkup(Markup.PURE.add(column.getCurrentMarkup()));
+    }
+  }
+
+  /**
+   * Differ between simple content and complex content.
+   * Decide if the content of a cell needs usually the whole possible space or
+   * is the character of the content like flowing text.
+   * In the second case, the style usually sets a padding.<br/>
+   * Pure is needed for &lt;tc:panel>,  &lt;tc:in>, etc.<br/>
+   * Pure is not needed for  &lt;tc:out> and &lt;tc:link>
+   */
+  private boolean isPure(UIColumn column) {
+    for (UIComponent child : column.getChildren()) {
+      if (!(child instanceof UIOut) && !(child instanceof UILink)) {
+        return true;
+      }
+    }
+    return false;
+  }
+
+  @Override
+  public boolean getPrepareRendersChildren() {
+    return true;
+  }
+
+  @Override
   public boolean getRendersChildren() {
     return true;
   }

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java
Wed Jun 22 16:09:29 2011
@@ -1041,6 +1041,10 @@ public class SheetRenderer extends Layou
   }
 
   @Override
-  public void prepareRendersChildren(FacesContext context, UIComponent component) {
+  public void prepareRendersChildren(FacesContext facesContext, UIComponent component) throws
IOException {
+    UISheet sheet = (UISheet) component;
+    for (UIColumn column : sheet.getRenderedColumns()) {
+      RenderUtils.prepareRendererAll(facesContext, column);
+    }
   }
 }

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties?rev=1138526&r1=1138525&r2=1138526&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties
Wed Jun 22 16:09:29 2011
@@ -58,6 +58,15 @@ Calendar.minimumHeight=210
 Calendar.maximumWidth=208
 Calendar.maximumHeight=210
 
+Column.paddingLeft=2
+Column.paddingTop=2
+Column.paddingRight=2
+Column.paddingBottom=2
+Column[pure].paddingLeft=-2
+Column[pure].paddingTop=-2
+Column[pure].paddingRight=-2
+Column[pure].paddingBottom=-2
+
 ColumnSelector.fixedWidth=24
 
 DatePicker.calendarPopupWidth=250



Mime
View raw message