aboutsummaryrefslogtreecommitdiffstats
path: root/ddms/libs
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2009-09-24 19:13:26 -0700
committerXavier Ducrohet <xav@android.com>2009-09-24 19:13:26 -0700
commit40d94820823640354cdd7b45839dac0a7c2deb58 (patch)
tree29eeeb1e5f125bd43fb26f68627735c9aa551514 /ddms/libs
parent0f30c14088ef1ee37e19f36ccbee67f44ea79bac (diff)
downloadsdk-40d94820823640354cdd7b45839dac0a7c2deb58.zip
sdk-40d94820823640354cdd7b45839dac0a7c2deb58.tar.gz
sdk-40d94820823640354cdd7b45839dac0a7c2deb58.tar.bz2
Fix colSpan for screenshot display from 3 to 4 in DDMS.
Change-Id: I4cf92b2f6ee66cd6f8e9b224879d8459e82949b6
Diffstat (limited to 'ddms/libs')
-rw-r--r--ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java b/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java
index 88f1ad1..b60c837 100644
--- a/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java
+++ b/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java
@@ -159,13 +159,13 @@ public class ScreenShotDialog extends Dialog {
mBusyLabel = new Label(shell, SWT.NONE);
mBusyLabel.setText("Preparing...");
data = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
- data.horizontalSpan = 3;
+ data.horizontalSpan = colCount;
mBusyLabel.setLayoutData(data);
// space for the image
mImageLabel = new Label(shell, SWT.BORDER);
data = new GridData(GridData.HORIZONTAL_ALIGN_CENTER);
- data.horizontalSpan = 3;
+ data.horizontalSpan = colCount;
mImageLabel.setLayoutData(data);
Display display = shell.getDisplay();
mImageLabel.setImage(ImageHelper.createPlaceHolderArt(