You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/08/12 09:15:51 UTC

svn commit: r803389 - in /myfaces/tobago/trunk/theme/scarborough/src/main: java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/ resources/org/apache/my...

Author: lofwyr
Date: Wed Aug 12 07:15:51 2009
New Revision: 803389

URL: http://svn.apache.org/viewvc?rev=803389&view=rev
Log:
TOBAGO-606: Layout-Manager
 - scarborough box

Modified:
    myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/BoxRenderer.java
    myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties
    myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css

Modified: myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/BoxRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/BoxRenderer.java?rev=803389&r1=803388&r2=803389&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/BoxRenderer.java (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/BoxRenderer.java Wed Aug 12 07:15:51 2009
@@ -62,6 +62,7 @@
 
     writer.startElement(HtmlConstants.FIELDSET, component);
     writer.writeClassAttribute();
+    writer.writeStyleAttribute();
     writer.writeAttributeFromComponent(HtmlAttributes.STYLE, getAttrStyleKey());
 
     if (label != null || labelString != null) {

Modified: myfaces/tobago/trunk/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/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties?rev=803389&r1=803388&r2=803389&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties Wed Aug 12 07:15:51 2009
@@ -46,12 +46,10 @@
 Box.headerHeight=0
 Box.paddingTopWhenToolbar=22
 Box.extraPaddingHeightWhenToolbar=10
-
-#new layout manager // todo
-Box.leftOffset=6
-Box.topOffset=25
-Box.rightOffset=7
-Box.bottomOffset=7
+Box.leftOffset=10
+Box.topOffset=20
+Box.rightOffset=10
+Box.bottomOffset=10
 
 Button.imageWidth=18
 Button.paddingWidth=10

Modified: myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css?rev=803389&r1=803388&r2=803389&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css Wed Aug 12 07:15:51 2009
@@ -387,8 +387,8 @@
 
 fieldset.tobago-box-default {
   border: 2px groove #ddeeff;
-  margin-left: 0px;
-  padding: 10px;
+  margin: 0;
+  padding: 20px 10px 10px 10px;
 }
 
 legend.tobago-box-default {