Browse Source

Fixed GridView layout.

Mark Sibly 7 years ago
parent
commit
2fd1fb7938
1 changed files with 3 additions and 1 deletions
  1. 3 1
      modules/mojox/gridview.monkey2

+ 3 - 1
modules/mojox/gridview.monkey2

@@ -82,7 +82,9 @@ Class GridView Extends View
 		
 		For Local cell:=Eachin _cells
 			
-			Local size:=cell.view.MeasuredSize
+			Local size:=cell.view.LayoutSize
+			
+			Print "size="+size
 			
 			maxw=Max( maxw,size.x/cell.w )
 			maxh=Max( maxh,size.y/cell.h )