incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1044013 - in /incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin: Activator.java VaadinClient.java
Date Thu, 09 Dec 2010 16:03:52 GMT
Author: marrs
Date: Thu Dec  9 16:03:51 2010
New Revision: 1044013

URL: http://svn.apache.org/viewvc?rev=1044013&view=rev
Log:
Tagged the buttons with the "small" style to make them fit better in the table rows.

Modified:
    incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/Activator.java
    incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java

Modified: incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/Activator.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/Activator.java?rev=1044013&r1=1044012&r2=1044013&view=diff
==============================================================================
--- incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/Activator.java
(original)
+++ incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/Activator.java
Thu Dec  9 16:03:51 2010
@@ -73,12 +73,14 @@ public class Activator extends Dependenc
             .setImplementation(new UIExtensionFactory() {
                 public Component create(Map<String, Object> context) {
                     final StatefulGatewayObject target = (StatefulGatewayObject) context.get("object");
-                    return new Button("i", new Button.ClickListener() {
+                    Button button = new Button("i", new Button.ClickListener() {
                         public void buttonClick(ClickEvent event) {
                             event.getButton().getWindow().showNotification(
                                 target.getID(), "current version is " + target.getCurrentVersion());
                         }
                     });
+                    button.setStyleName("small");
+                    return button;
                 }
             })
         );

Modified: incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java?rev=1044013&r1=1044012&r2=1044013&view=diff
==============================================================================
--- incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
(original)
+++ incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
Thu Dec  9 16:03:51 2010
@@ -1156,6 +1156,7 @@ public class VaadinClient extends com.va
         // TODO generify?
         public RemoveLinkButton(final REPO_OBJECT object, final ObjectPanel toLeft, final
ObjectPanel toRight) {
             super("-");
+            setStyleName("small");
             addListener(new Button.ClickListener() {
                 public void buttonClick(ClickEvent event) {
                     if (m_activeTable.equals(toLeft)) {



Mime
View raw message