Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2007-04-13 21:20:16 +0000
committerChris Goldthorpe2007-04-13 21:20:16 +0000
commitc94ee6c1c4acb88cd904932bc56f1dd0546e9617 (patch)
treecc6a804cb972f7e6a74ffb54f447dd880496dedc /org.eclipse.ui.cheatsheets/src/org
parentef4fe9f702b45e74781828c38ce176fe6dd0f58e (diff)
downloadeclipse.platform.ua-c94ee6c1c4acb88cd904932bc56f1dd0546e9617.tar.gz
eclipse.platform.ua-c94ee6c1c4acb88cd904932bc56f1dd0546e9617.tar.xz
eclipse.platform.ua-c94ee6c1c4acb88cd904932bc56f1dd0546e9617.zip
Bug 173344 - [CheatSheet] Visual appearance regressions
Diffstat (limited to 'org.eclipse.ui.cheatsheets/src/org')
-rw-r--r--org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/composite/views/CompositeCheatSheetPage.java4
-rw-r--r--org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CoreItem.java1
2 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/composite/views/CompositeCheatSheetPage.java b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/composite/views/CompositeCheatSheetPage.java
index 47b5e6329..0cef6ba67 100644
--- a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/composite/views/CompositeCheatSheetPage.java
+++ b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/composite/views/CompositeCheatSheetPage.java
@@ -132,8 +132,10 @@ public class CompositeCheatSheetPage extends Page implements ISelectionChangedLi
explorerPanel.setBackground(colors.getColor(IFormColors.TB_BORDER));
GridLayout playout = new GridLayout();
playout.marginWidth = 0;
- playout.marginHeight = 0;
+ playout.marginTop = 2;
+ playout.marginBottom = 0;
explorerPanel.setLayout(playout);
+ toolkit.adapt(explorerPanel);
explorerContainer = new PageBook(explorerPanel, SWT.NULL);
explorerContainer.setLayoutData(new GridData(GridData.FILL_BOTH));
Composite editorPanel = new Composite(sash, SWT.NULL);
diff --git a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CoreItem.java b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CoreItem.java
index 87a8e59d7..880663462 100644
--- a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CoreItem.java
+++ b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CoreItem.java
@@ -234,6 +234,7 @@ public class CoreItem extends ViewItem {
separatorData.align = TableWrapData.FILL;
separatorData.grabHorizontal = true;
separatorData.maxHeight = 1;
+ separatorData.valign = TableWrapData.MIDDLE;
separator.setLayoutData(separatorData);
for (int i = 3; i <= SUBITEM_COLUMNS; i++) {
Label filler = page.getToolkit().createLabel(buttonComposite, null);

Back to the top