Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2008-07-30 06:58:09 +0000
committerMarkus Schorn2008-07-30 06:58:09 +0000
commit49db8ecffad1a953055e33510fdcd5899d5b5e68 (patch)
tree5056b60af95577490cd86faeb0c0d88ee692ab72
parent294dbaa3e864bc7e5fd526d56016f1763752370b (diff)
downloadorg.eclipse.cdt-49db8ecffad1a953055e33510fdcd5899d5b5e68.tar.gz
org.eclipse.cdt-49db8ecffad1a953055e33510fdcd5899d5b5e68.tar.xz
org.eclipse.cdt-49db8ecffad1a953055e33510fdcd5899d5b5e68.zip
Property tabs without buttons, bug 242408.
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java
index 339753f8a14..66692c4fabf 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java
@@ -156,7 +156,9 @@ public abstract class AbstractCPropertyTab implements ICPropertyTab {
buttoncomp = new Composite(userdata, SWT.NONE);
buttoncomp.setLayoutData(gd= new GridData(GridData.END));
- gd.widthHint= 150;
+ // width hint must be set to one, otherwise subclasses that do not have buttons
+ // don't look pretty, bug 242408
+ gd.widthHint= 1;
pageBook.showPage(userdata);

Back to the top