OSDN Git Service

ADT/GLE2: send new width/heigh when in explode mode instead of original ones.
authorXavier Ducrohet <xav@android.com>
Tue, 5 Jan 2010 18:30:55 +0000 (10:30 -0800)
committerXavier Ducrohet <xav@android.com>
Tue, 5 Jan 2010 18:30:55 +0000 (10:30 -0800)
Change-Id: I9f0743ad6c3a79254c1296f78a9845dbf6c65ca5

eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/GraphicalEditorPart.java

index 31ad66c..deddf02 100755 (executable)
@@ -954,7 +954,7 @@ public class GraphicalEditorPart extends EditorPart implements IGraphicalLayoutE
 \r
                             ILayoutResult result = computeLayout(bridge, parser,\r
                                     iProject /* projectKey */,\r
-                                    rect.width, rect.height, !mConfigComposite.getClipping(),\r
+                                    width, height, !mConfigComposite.getClipping(),\r
                                     density, xdpi, ydpi,\r
                                     theme, isProjectTheme,\r
                                     configuredProjectRes, frameworkResources, mProjectCallback,\r