Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Bauer2013-03-19 08:20:05 +0000
committerSergey Prigogin2013-03-25 12:49:01 +0000
commit40d48177487f43b2da1d010802f8a8314f02f2fc (patch)
tree31c206ea68d12ae1bf815fe33d386e8620717070 /build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder
parentc7ccb1c5f1febdb78e9d9007c17bbd467954af67 (diff)
downloadorg.eclipse.cdt-40d48177487f43b2da1d010802f8a8314f02f2fc.tar.gz
org.eclipse.cdt-40d48177487f43b2da1d010802f8a8314f02f2fc.tar.xz
org.eclipse.cdt-40d48177487f43b2da1d010802f8a8314f02f2fc.zip
[Bug 317353] Reduce space requirements of various prefs pages
The area covered by CDT prefs pages has been always quite huge. Often, the scroll bar of the virtual composite has to be displayed although the components could display all the required information readily in a smaller box. This is an attempt to reduce some of the fixed space requirements. The solution is not ideal, but the layout framework of SWT (no notation of minimum size) and the way how sizes are computed in prefs page by jface doesn't allow a more sophisticated solution at this time. Change-Id: I5f9aa36d0d37b93852a39d636719be801a2c1360 Reviewed-on: https://git.eclipse.org/r/11299 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/DiscoveryTab.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/DiscoveryTab.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/DiscoveryTab.java
index 4cfadb749f5..29beef99ca1 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/DiscoveryTab.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/DiscoveryTab.java
@@ -98,7 +98,7 @@ public class DiscoveryTab extends AbstractCBuildPropertyTab implements IBuildInf
private static final String PROFILE_PAGE = "profilePage"; //$NON-NLS-1$
private static final String PROFILE_ID = "profileId"; //$NON-NLS-1$
private static final String PROFILE_NAME = "name"; //$NON-NLS-1$
- private static final int DEFAULT_HEIGHT = 150;
+ private static final int DEFAULT_HEIGHT = 15;
private static final int[] DEFAULT_SASH_WEIGHTS = new int[] { 10, 20 };
private Label fTableDefinition;
private Combo scopeComboBox;

Back to the top