aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamilo Bernal2012-08-15 14:57:18 (EDT)
committerRoland Grunberg2012-08-15 16:02:26 (EDT)
commite47e24661ae0c5e345eadeeb2e1d396b1acd203e (patch)
treea67cb3fceeacfef85f08c3cb27272d632fcb5d26
parentc8c54cd6f9c13a78c42c8263e3a01c10dbb68190 (diff)
downloadorg.eclipse.linuxtools-e47e24661ae0c5e345eadeeb2e1d396b1acd203e.zip
org.eclipse.linuxtools-e47e24661ae0c5e345eadeeb2e1d396b1acd203e.tar.gz
org.eclipse.linuxtools-e47e24661ae0c5e345eadeeb2e1d396b1acd203e.tar.bz2
Add layout data properties to launch provider's tab group.
Added layout data to launch provider's tab group to allow all tab items to be scrollable. Change-Id: Ibf151387fe67f718fde6b79d25deb866e8da7a67 Reviewed-on: https://git.eclipse.org/r/7242 Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotOptionsTab.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotOptionsTab.java b/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotOptionsTab.java
index df3d9b2..ea7fafd 100644
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotOptionsTab.java
+++ b/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotOptionsTab.java
@@ -26,6 +26,7 @@ import org.eclipse.swt.custom.CTabFolder;
import org.eclipse.swt.custom.CTabItem;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
@@ -51,6 +52,8 @@ public class SnapshotOptionsTab extends ProfileLaunchConfigurationTab {
providerCombo.setItems(providerNames.toArray(new String[0]));
tabgroup = new CTabFolder(top, SWT.NONE);
+ tabgroup.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true,
+ true));
providerCombo.addSelectionListener(new SelectionAdapter() {
@Override