[kune-commits] r1351 - in trunk/src/main/java/cc/kune: core/client/sn gspace/client gspace/client/resources

Vicente J. Ruiz Jurado vjrj_ at ourproject.org
Fri May 6 03:29:12 CEST 2011


Author: vjrj_
Date: 2011-05-06 03:29:11 +0200 (Fri, 06 May 2011)
New Revision: 1351

Modified:
   trunk/src/main/java/cc/kune/core/client/sn/GroupSNPanel.java
   trunk/src/main/java/cc/kune/gspace/client/GSpaceArmor.java
   trunk/src/main/java/cc/kune/gspace/client/GSpaceArmorImpl.java
   trunk/src/main/java/cc/kune/gspace/client/GSpaceArmorImpl.ui.xml
   trunk/src/main/java/cc/kune/gspace/client/resources/wsArmor.css
Log:
Tools up!

Modified: trunk/src/main/java/cc/kune/core/client/sn/GroupSNPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/GroupSNPanel.java	2011-05-06 01:13:41 UTC (rev 1350)
+++ trunk/src/main/java/cc/kune/core/client/sn/GroupSNPanel.java	2011-05-06 01:29:11 UTC (rev 1351)
@@ -90,7 +90,6 @@
 
   private void setVisibleImpl(final boolean visible) {
     mainPanel.setVisible(visible);
-    armor.recalculeNorthWidth();
   }
 
   @Override

Modified: trunk/src/main/java/cc/kune/gspace/client/GSpaceArmor.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/GSpaceArmor.java	2011-05-06 01:13:41 UTC (rev 1350)
+++ trunk/src/main/java/cc/kune/gspace/client/GSpaceArmor.java	2011-05-06 01:29:11 UTC (rev 1351)
@@ -56,8 +56,6 @@
 
   ForIsWidget getUserSpace();
 
-  void recalculeNorthWidth();
-
   void selectGroupSpace();
 
   void selectHomeSpace();

Modified: trunk/src/main/java/cc/kune/gspace/client/GSpaceArmorImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/GSpaceArmorImpl.java	2011-05-06 01:13:41 UTC (rev 1350)
+++ trunk/src/main/java/cc/kune/gspace/client/GSpaceArmorImpl.java	2011-05-06 01:29:11 UTC (rev 1351)
@@ -63,6 +63,8 @@
   @UiField
   VerticalPanel entityToolsCenter;
   @UiField
+  FlowPanel entityToolsContainer;
+  @UiField
   FlowPanel entityToolsNorth;
   @UiField
   VerticalPanel entityToolsSouth;
@@ -96,8 +98,8 @@
     homeSpace.add(RootPanel.get("k-home-wrapper"));
     DOM.setStyleAttribute((Element) groupSpace.getWidgetContainerElement(splitEast), "overflow",
         "visible");
-    DOM.setStyleAttribute((Element) splitEast.getWidgetContainerElement(entityToolsCenter), "overflow",
-        "visible");
+    DOM.setStyleAttribute((Element) splitEast.getWidgetContainerElement(entityToolsContainer),
+        "overflow", "visible");
     footerToolbar = toolbarProv.get();
     headerToolbar = toolbarProv.get();
     subheaderToolbar = toolbarProv.get();
@@ -183,21 +185,6 @@
   }
 
   @Override
-  public void recalculeNorthWidth() {
-    // NotifyUser.info(entityToolsNorth.getElement().getOffsetHeight() + "");
-    // final int size = entityToolsNorth.getElement().getOffsetHeight() + 100;
-    // ((Element)
-    // splitEast.getWidgetContainerElement(entityToolsNorth)).getStyle().setHeight(size,
-    // Unit.PX);
-    // ((Element)
-    // splitEast.getWidgetContainerElement(entityToolsCenter)).setPropertyString("top",
-    // size
-    // + "px");
-    // ((Element)
-    // splitEast.getWidgetContainerElement(entityToolsCenter)).getStyle().setHeight(size,Unit.PX);
-  }
-
-  @Override
   public void selectGroupSpace() {
     tabs.selectTab(groupSpace);
   }

Modified: trunk/src/main/java/cc/kune/gspace/client/GSpaceArmorImpl.ui.xml
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/GSpaceArmorImpl.ui.xml	2011-05-06 01:13:41 UTC (rev 1350)
+++ trunk/src/main/java/cc/kune/gspace/client/GSpaceArmorImpl.ui.xml	2011-05-06 01:29:11 UTC (rev 1351)
@@ -90,14 +90,14 @@
             <g:west size="200.0">
               <g:DockLayoutPanel unit="PX"
                 styleName="{res.style.entityTools}" ui:field="splitEast">
-                <g:north size="305">
+                <g:center>
+                <g:FlowPanel ui:field="entityToolsContainer">
                   <g:FlowPanel width="100%" ui:field="entityToolsNorth"
                     styleName="{res.style.entityToolsNorth}"></g:FlowPanel>
-                </g:north>
-                <g:center>
                   <g:VerticalPanel width="100%"
                     ui:field="entityToolsCenter" styleName="{res.style.entityToolsCenter}">
                   </g:VerticalPanel>
+                </g:FlowPanel>
                 </g:center>
                 <g:south size="98">
                   <g:VerticalPanel width="100%"

Modified: trunk/src/main/java/cc/kune/gspace/client/resources/wsArmor.css
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/resources/wsArmor.css	2011-05-06 01:13:41 UTC (rev 1350)
+++ trunk/src/main/java/cc/kune/gspace/client/resources/wsArmor.css	2011-05-06 01:29:11 UTC (rev 1351)
@@ -181,6 +181,7 @@
 
 .entityToolsCenter { /*  margin: 10px; */
   overflow: visible !important;
+  margin-top: 10px;
 }
 
 .entityToolsCenter span {




More information about the kune-commits mailing list