display message while image loads on the client viewer
[pithos] / src / gr / ebs / gss / client / FilePropertiesDialog.java
index 24ea140..ccd3877 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(readForAllNote);\r
                        permPanel.add(permForAll);\r
-                       permPanel.add(readForAllNote);\r
                }\r
 \r
                TextBox path = new TextBox();\r
+               path.setWidth("100%");\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
-               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/cmd-C to copy to system clipboard)");\r
+               path.setWidth("100%");\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