From 9c8d981dcdd28d0aeb1079bde015c48d0a619ed6 Mon Sep 17 00:00:00 2001 From: lingutln Date: Sun, 1 Jan 2012 01:44:50 +0000 Subject: [PATCH] Modified Layout for popup dialog. Done by Nikhil. svn path=/; revision=246 --- Annotation/.classpath | 22 +++++++++---------- .../apps/ist/dialogs/PopUpLabelDialog.java | 5 +---- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/Annotation/.classpath b/Annotation/.classpath index 22412b6..dae8e98 100644 --- a/Annotation/.classpath +++ b/Annotation/.classpath @@ -1,11 +1,11 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/Annotation/src/ie/dcu/apps/ist/dialogs/PopUpLabelDialog.java b/Annotation/src/ie/dcu/apps/ist/dialogs/PopUpLabelDialog.java index bc4e60c..6b19e62 100644 --- a/Annotation/src/ie/dcu/apps/ist/dialogs/PopUpLabelDialog.java +++ b/Annotation/src/ie/dcu/apps/ist/dialogs/PopUpLabelDialog.java @@ -92,7 +92,7 @@ public class PopUpLabelDialog extends Dialog { content = new Composite(shell, 0); content.setLayout(LayoutFactory.createGridLayout(0, 0, 1, false)); widgets = new Composite(content, 0); - widgets.setLayout(LayoutFactory.createGridLayout(10, 5, 3, false)); + widgets.setLayout(LayoutFactory.createGridLayout(10, 5, 2, false)); widgets.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); hline(content); buttons = new Composite(content, 0); @@ -129,12 +129,9 @@ public class PopUpLabelDialog extends Dialog { } }); - spacer(widgets); label(widgets, "Curator"); curatorText = text(widgets,"Enter your name"); - spacer(widgets); - hline(widgets); // Button bar expander(buttons); -- 2.34.1