Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Bauer2013-03-19 08:20:05 +0000
committerSergey Prigogin2013-03-25 12:49:01 +0000
commit40d48177487f43b2da1d010802f8a8314f02f2fc (patch)
tree31c206ea68d12ae1bf815fe33d386e8620717070 /core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui
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 'core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui')
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java
index cf9f9f73299..58279739ce8 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java
@@ -353,7 +353,7 @@ implements
GridData gd;
parentComposite = new Composite(c, SWT.NONE);
parentComposite.setLayoutData(gd= new GridData(GridData.FILL_BOTH));
- gd.widthHint= 800;
+ gd.widthHint= 600;
itabs.clear();
if (!isSingle()) {
parentComposite.setLayout(new FillLayout());

Back to the top