Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Aniszczyk2010-05-25 13:56:34 +0000
committerCode Review2010-05-25 13:56:34 +0000
commitcba6609766b0b0c51fc6a096d319aeb1313c8a80 (patch)
tree35ed9d00616bfff3c11fb23c949de1c5c24a752e
parent070b2a2476973a1ed41dcff94fc41e5ad36bc528 (diff)
parentb597b37eb3df451d292eb4dbe7be63e2db7cec04 (diff)
downloadegit-cba6609766b0b0c51fc6a096d319aeb1313c8a80.tar.gz
egit-cba6609766b0b0c51fc6a096d319aeb1313c8a80.tar.xz
egit-cba6609766b0b0c51fc6a096d319aeb1313c8a80.zip
Merge "Improve layout of tagging dialog"
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java
index a2ffdf5360..dfed134111 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java
@@ -248,7 +248,7 @@ public class CreateTagDialog extends Dialog {
UIText.CreateTagDialog_questionNewTagTitle, branchName));
}
- newShell.setMinimumSize(703, 345);
+ newShell.setMinimumSize(600, 400);
}
@Override
@@ -335,7 +335,7 @@ public class CreateTagDialog extends Dialog {
GridData data = new GridData(GridData.GRAB_HORIZONTAL
| GridData.HORIZONTAL_ALIGN_FILL
| GridData.VERTICAL_ALIGN_CENTER);
- data.widthHint = convertHorizontalDLUsToPixels(IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH);
+ data.widthHint = convertHorizontalDLUsToPixels(IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH/2);
label.setLayoutData(data);
label.setFont(left.getFont());
@@ -428,7 +428,7 @@ public class CreateTagDialog extends Dialog {
commitCombo = new CommitCombo(advancedComposite, SWT.NORMAL);
commitCombo.setLayoutData(GridDataFactory.fillDefaults().grab(true,
- false).create());
+ false).hint(300, SWT.DEFAULT).create());
for (RevCommit revCommit : revCommits)
commitCombo.add(revCommit);

Back to the top