cosmetic change - add more margin to second group box
authordadubrow
Mon, 15 Jun 2009 08:24:11 -0500
changeset 242 ecdc976d1827
parent 241 1ef9693a4944
child 244 87e439e53c32
child 249 355219af6139
child 253 377935499ff5
cosmetic change - add more margin to second group box
project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/preferences/CarbidePreferencePage.java
--- a/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/preferences/CarbidePreferencePage.java	Fri Jun 12 15:23:04 2009 -0500
+++ b/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/preferences/CarbidePreferencePage.java	Mon Jun 15 08:24:11 2009 -0500
@@ -22,6 +22,7 @@
 import com.nokia.carbide.cpp.project.ui.utils.ProjectUIUtils;
 
 import org.eclipse.jface.layout.GridDataFactory;
+import org.eclipse.jface.layout.GridLayoutFactory;
 import org.eclipse.jface.preference.PreferencePage;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.events.SelectionAdapter;
@@ -128,7 +129,7 @@
 		updateProjectSyncEnabledState();
 
 		Group indexGroup = new Group(content, SWT.NONE);
-		indexGroup.setLayout(new GridLayout());
+		GridLayoutFactory.swtDefaults().margins(10, 10).applyTo(indexGroup);
 		indexGroup.setText(Messages.getString("CarbidePreferencePage.IndexingTitle")); //$NON-NLS-1$
 		GridDataFactory.fillDefaults().grab(true, false).applyTo(indexGroup);