2003/09/23 21:16:10
[org.ibex.core.git] / src / org / xwt / Platform.java
index 850e1dc..accf069 100644 (file)
@@ -264,8 +264,6 @@ public class Platform {
     protected Surface _createSurface(Box b, boolean framed) { return null; }
     public static Surface createSurface(Box b, boolean framed, boolean refreshable) {
         Surface ret = platform._createSurface(b, framed);
-        b.width = b.height < Surface.scarPicture.getWidth() ? Surface.scarPicture.getWidth() : b.width;
-        b.height = b.height < Surface.scarPicture.getHeight() ? Surface.scarPicture.getHeight() : b.height;
         ret.setInvisible(false);
 
         Object titlebar = b.get("titlebar", true);