Cosmetic changes (widget sizes and alignment)
authorFotis Stamatelopoulos <fstamatelopoulos@gmail.com>
Tue, 7 Jul 2009 10:41:08 +0000 (13:41 +0300)
committerFotis Stamatelopoulos <fstamatelopoulos@gmail.com>
Tue, 7 Jul 2009 10:41:08 +0000 (13:41 +0300)
src/gr/ebs/gss/client/FilePropertiesDialog.java

index 24ea140..df97ec8 100644 (file)
@@ -285,11 +285,12 @@ public class FilePropertiesDialog extends DialogBox {
                        permForAll.add(readForAll);\r
                        permForAll.setSpacing(8);\r
                        permForAll.addStyleName("gwt-TabPanelBottom");\r
                        permForAll.add(readForAll);\r
                        permForAll.setSpacing(8);\r
                        permForAll.addStyleName("gwt-TabPanelBottom");\r
+                       permForAll.add(readForAllNote);\r
                        permPanel.add(permForAll);\r
                        permPanel.add(permForAll);\r
-                       permPanel.add(readForAllNote);\r
                }\r
 \r
                TextBox path = new TextBox();\r
                }\r
 \r
                TextBox path = new TextBox();\r
+               path.setWidth("100%");\r
                path.addClickListener(new ClickListener () {\r
 \r
                        public void onClick(Widget sender) {\r
                path.addClickListener(new ClickListener () {\r
 \r
                        public void onClick(Widget sender) {\r
@@ -300,8 +301,11 @@ public class FilePropertiesDialog extends DialogBox {
 \r
                });\r
                path.setText(file.getUri());\r
 \r
                });\r
                path.setText(file.getUri());\r
-               path.setTitle("Use this URI for sharing this file with the world");\r
+               path.setTitle("Use this URI for sharing this file with the world (crtl-C to copy to system clipboard)");\r
+               path.setWidth("100%");\r
                path.setReadOnly(true);\r
                path.setReadOnly(true);\r
+               pathPanel.setWidth("100%");\r
+               pathPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT);\r
                pathPanel.add(new Label("Sharing URI"));\r
                pathPanel.setSpacing(8);\r
                pathPanel.addStyleName("gwt-TabPanelBottom");\r
                pathPanel.add(new Label("Sharing URI"));\r
                pathPanel.setSpacing(8);\r
                pathPanel.addStyleName("gwt-TabPanelBottom");\r