mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 09:15:38 +02:00
[228954] - column of equal size for settings pages
This commit is contained in:
parent
78a0afeab0
commit
c29cb39432
1 changed files with 7 additions and 10 deletions
|
@ -27,18 +27,14 @@ public abstract class AbstractToolSettingUI extends FieldEditorPreferencePage {
|
||||||
* @param style
|
* @param style
|
||||||
*/
|
*/
|
||||||
protected AbstractToolSettingUI(IResourceInfo info) {
|
protected AbstractToolSettingUI(IResourceInfo info) {
|
||||||
// fix for PR 63973
|
this(info, GRID);
|
||||||
// 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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected AbstractToolSettingUI(IResourceInfo info, int style) {
|
||||||
|
super(style);
|
||||||
|
noDefaultAndApplyButton();
|
||||||
|
fInfo = info;
|
||||||
|
}
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
|
* @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 boolean isFor(Object obj1, Object obj2);
|
||||||
public abstract void updateFields();
|
public abstract void updateFields();
|
||||||
public abstract void setValues();
|
public abstract void setValues();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue