[embjopr-commits] EMBJOPR SVN: r261 - in trunk/core/src/main: webapp/include and 1 other directory.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Mon Mar 30 12:58:22 EDT 2009


Author: ips
Date: 2009-03-30 12:58:21 -0400 (Mon, 30 Mar 2009)
New Revision: 261

Modified:
   trunk/core/src/main/java/org/jboss/on/embedded/ui/TableManager.java
   trunk/core/src/main/webapp/include/resourceNavigation.xhtml
Log:
make page sizes bigger for tables in content pane (10/20/50 instead of 5/10/20); add a bit of padding between the header logo and the navtree (I got tired of accidentally clicking on the logo when trying to click on the platform node)


Modified: trunk/core/src/main/java/org/jboss/on/embedded/ui/TableManager.java
===================================================================
--- trunk/core/src/main/java/org/jboss/on/embedded/ui/TableManager.java	2009-03-27 21:26:05 UTC (rev 260)
+++ trunk/core/src/main/java/org/jboss/on/embedded/ui/TableManager.java	2009-03-30 16:58:21 UTC (rev 261)
@@ -35,12 +35,12 @@
 @Scope(ScopeType.PAGE)
 public class TableManager implements Serializable
 {
-    private static final int MIN_PAGE_SIZE = 5;
+    private static final int MIN_PAGE_SIZE = 10;
    
     private int numRows = MIN_PAGE_SIZE;
     
-    private SelectItem[] pageSizes = new SelectItem[] { new SelectItem("5", "5"),
-        new SelectItem("10", "10"), new SelectItem("20", "20") };
+    private SelectItem[] pageSizes = new SelectItem[] { new SelectItem("10", "10"),
+        new SelectItem("20", "20"), new SelectItem("50", "50") };
     
     public int getNumRows() {         
         return this.numRows; 

Modified: trunk/core/src/main/webapp/include/resourceNavigation.xhtml
===================================================================
--- trunk/core/src/main/webapp/include/resourceNavigation.xhtml	2009-03-27 21:26:05 UTC (rev 260)
+++ trunk/core/src/main/webapp/include/resourceNavigation.xhtml	2009-03-30 16:58:21 UTC (rev 261)
@@ -48,7 +48,7 @@
                        icon="/images/iconFolderNorm.gif"
                        adviseNodeOpened="#{navigationAction.openNodeAdvisor}"
                        changeExpandListener="#{navigationAction.changeExpandListener}"
-                       style="width: 300px;">
+                       style="width: 300px; margin-top: 9px">
                 <!-- NODE: resourceInstance summary home node -->
                 <rich:treeNode type="org.jboss.on.embedded.ui.nav.PlatformResourceTreeNode"
                                id="homeNode"




More information about the embjopr-commits mailing list