aboutsummaryrefslogtreecommitdiffstats
path: root/ddms
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-09-24 17:09:28 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-09-24 17:09:28 -0400
commitbc9f824d89ac8fff2e52cfaf84cebbd51f71ff58 (patch)
treeb9b6c009b5845f57a95ec46cf9eeef9a0325ff7a /ddms
parent55116787d6c747d2ea6ab0385124f8610437e326 (diff)
parente851d783ebe07c5bb13f4afac53cfe209fef795a (diff)
downloadsdk-bc9f824d89ac8fff2e52cfaf84cebbd51f71ff58.zip
sdk-bc9f824d89ac8fff2e52cfaf84cebbd51f71ff58.tar.gz
sdk-bc9f824d89ac8fff2e52cfaf84cebbd51f71ff58.tar.bz2
Merge change 26901 into eclair
* changes: Move the screenshot button above the image
Diffstat (limited to 'ddms')
-rw-r--r--ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java32
1 files changed, 17 insertions, 15 deletions
diff --git a/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java b/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java
index 778c594..0319642 100644
--- a/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java
+++ b/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java
@@ -97,21 +97,6 @@ public class ScreenShotDialog extends Dialog {
shell.setLayout(new GridLayout(3, true));
- // title/"capturing" label
- mBusyLabel = new Label(shell, SWT.NONE);
- mBusyLabel.setText("Preparing...");
- data = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
- data.horizontalSpan = 3;
- mBusyLabel.setLayoutData(data);
-
- // space for the image
- mImageLabel = new Label(shell, SWT.BORDER);
- data = new GridData(GridData.HORIZONTAL_ALIGN_CENTER);
- data.horizontalSpan = 3;
- mImageLabel.setLayoutData(data);
- Display display = shell.getDisplay();
- mImageLabel.setImage(ImageHelper.createPlaceHolderArt(display, 50, 50, display.getSystemColor(SWT.COLOR_BLUE)));
-
// "refresh" button
Button refresh = new Button(shell, SWT.PUSH);
refresh.setText("Refresh");
@@ -151,6 +136,23 @@ public class ScreenShotDialog extends Dialog {
}
});
+ // title/"capturing" label
+ mBusyLabel = new Label(shell, SWT.NONE);
+ mBusyLabel.setText("Preparing...");
+ data = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
+ data.horizontalSpan = 3;
+ mBusyLabel.setLayoutData(data);
+
+ // space for the image
+ mImageLabel = new Label(shell, SWT.BORDER);
+ data = new GridData(GridData.HORIZONTAL_ALIGN_CENTER);
+ data.horizontalSpan = 3;
+ mImageLabel.setLayoutData(data);
+ Display display = shell.getDisplay();
+ mImageLabel.setImage(ImageHelper.createPlaceHolderArt(
+ display, 50, 50, display.getSystemColor(SWT.COLOR_BLUE)));
+
+
shell.setDefaultButton(done);
}