diff options
author | Wim Jongman | 2018-06-06 21:00:27 +0000 |
---|---|---|
committer | Wim Jongman | 2018-06-06 21:00:27 +0000 |
commit | b0171bc227aaecb42aca8aa068cd9a37ab20542b (patch) | |
tree | 13443aa0a653593a5c44a0966c30842f0be78c9b /org.eclipse.tips.ui/src/org/eclipse/tips/ui/internal/TipDialog.java | |
parent | 1d4bad29e4cd5e576f1f6c6c7aaa6f0ff3ecf54a (diff) | |
download | eclipse.platform.ua-b0171bc227aaecb42aca8aa068cd9a37ab20542b.tar.gz eclipse.platform.ua-b0171bc227aaecb42aca8aa068cd9a37ab20542b.tar.xz eclipse.platform.ua-b0171bc227aaecb42aca8aa068cd9a37ab20542b.zip |
Bug 535585: [Tips] Initial dialog size
## CS1
Make size smaller
Change-Id: I43e80243a4af67e968e02eff7c3e7d2b0194747b
Signed-off-by: Wim Jongman <wim.jongman@remainsoftware.com>
Diffstat (limited to 'org.eclipse.tips.ui/src/org/eclipse/tips/ui/internal/TipDialog.java')
-rw-r--r-- | org.eclipse.tips.ui/src/org/eclipse/tips/ui/internal/TipDialog.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/org.eclipse.tips.ui/src/org/eclipse/tips/ui/internal/TipDialog.java b/org.eclipse.tips.ui/src/org/eclipse/tips/ui/internal/TipDialog.java index 1e64ae7d0..82aa3471c 100644 --- a/org.eclipse.tips.ui/src/org/eclipse/tips/ui/internal/TipDialog.java +++ b/org.eclipse.tips.ui/src/org/eclipse/tips/ui/internal/TipDialog.java @@ -65,17 +65,6 @@ public class TipDialog extends Dialog { return area; } -// private Point getLocation() { -// Shell parentShell = getParentShell(); -// if (parentShell == null) { -// return null; -// } -// int absx = parentShell.getSize().x / 2 - getShell().getSize().x / 2; -// int absy = parentShell.getSize().y / 2 - getShell().getSize().y / 2; -// absy = absy > 20 ? 20 : absy; -// return new Point(parentShell.getLocation().x + absx, parentShell.getLocation().y + absy); -// } - @Override protected void createButtonsForButtonBar(Composite pParent) { } @@ -83,7 +72,6 @@ public class TipDialog extends Dialog { @Override protected Control createButtonBar(Composite pParent) { Control bar = super.createButtonBar(pParent); - // fixLayout((Composite) bar); bar.setLayoutData(GridDataFactory.swtDefaults().hint(1, 1).create()); return bar; } |