From 8960233bd2d7be8f58082e209d17f71f34e425fb Mon Sep 17 00:00:00 2001 From: Fotis Stamatelopoulos Date: Tue, 7 Jul 2009 13:41:08 +0300 Subject: [PATCH] Cosmetic changes (widget sizes and alignment) --- src/gr/ebs/gss/client/FilePropertiesDialog.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gr/ebs/gss/client/FilePropertiesDialog.java b/src/gr/ebs/gss/client/FilePropertiesDialog.java index 24ea140..df97ec8 100644 --- a/src/gr/ebs/gss/client/FilePropertiesDialog.java +++ b/src/gr/ebs/gss/client/FilePropertiesDialog.java @@ -285,11 +285,12 @@ public class FilePropertiesDialog extends DialogBox { permForAll.add(readForAll); permForAll.setSpacing(8); permForAll.addStyleName("gwt-TabPanelBottom"); + permForAll.add(readForAllNote); permPanel.add(permForAll); - permPanel.add(readForAllNote); } TextBox path = new TextBox(); + path.setWidth("100%"); path.addClickListener(new ClickListener () { public void onClick(Widget sender) { @@ -300,8 +301,11 @@ public class FilePropertiesDialog extends DialogBox { }); path.setText(file.getUri()); - path.setTitle("Use this URI for sharing this file with the world"); + path.setTitle("Use this URI for sharing this file with the world (crtl-C to copy to system clipboard)"); + path.setWidth("100%"); path.setReadOnly(true); + pathPanel.setWidth("100%"); + pathPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT); pathPanel.add(new Label("Sharing URI")); pathPanel.setSpacing(8); pathPanel.addStyleName("gwt-TabPanelBottom"); -- 1.7.10.4