diff options
author | Alena Laskavaia | 2009-01-22 18:16:17 +0000 |
---|---|---|
committer | Alena Laskavaia | 2009-01-22 18:16:17 +0000 |
commit | c29cb394329058de2a5061e9a2a4b34504fd0391 (patch) | |
tree | c54297928516d630646c04c5fa40e414bb032ee1 /build | |
parent | 78a0afeab0c441825ff1de6595e9b1bcbe169442 (diff) | |
download | org.eclipse.cdt-c29cb394329058de2a5061e9a2a4b34504fd0391.tar.gz org.eclipse.cdt-c29cb394329058de2a5061e9a2a4b34504fd0391.tar.xz org.eclipse.cdt-c29cb394329058de2a5061e9a2a4b34504fd0391.zip |
[228954] - column of equal size for settings pages
Diffstat (limited to 'build')
-rw-r--r-- | build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/AbstractToolSettingUI.java | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/AbstractToolSettingUI.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/AbstractToolSettingUI.java index c15d1a938fa..fd7ffaab44f 100644 --- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/AbstractToolSettingUI.java +++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/AbstractToolSettingUI.java @@ -27,18 +27,14 @@ public abstract class AbstractToolSettingUI extends FieldEditorPreferencePage { * @param style */ protected AbstractToolSettingUI(IResourceInfo info) { - // fix for PR 63973 - // If we use a grid layout then widgets that should be layed out horizontally, - // e.g. StringButtonFieldEditor, will have their component widgets - // arranged vertically. This looks terrible when you have for instance - // a StringButtonFieldEditor, which has a label, an edit box, and a "modify" button - // to the right because all three will be stacked vertically. - super(FLAT); - // end fix for 63973 - noDefaultAndApplyButton(); - fInfo = info; + this(info, GRID); } + protected AbstractToolSettingUI(IResourceInfo info, int style) { + super(style); + noDefaultAndApplyButton(); + fInfo = info; + } /* (non-Javadoc) * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors() */ @@ -72,4 +68,5 @@ public abstract class AbstractToolSettingUI extends FieldEditorPreferencePage { public abstract boolean isFor(Object obj1, Object obj2); public abstract void updateFields(); public abstract void setValues(); + } |