ui/cocoa/GridLayout.m

changeset 117
b174e721663e
parent 112
c3f2f16fa4b8
equal deleted inserted replaced
116:376ef91111f6 117:b174e721663e
36 36
37 - (GridLayout*)init { 37 - (GridLayout*)init {
38 self = [super init]; 38 self = [super init];
39 _columnspacing = 0; 39 _columnspacing = 0;
40 _rowspacing = 0; 40 _rowspacing = 0;
41 _children = cxArrayListCreateSimple(sizeof(GridElm), 32); 41 _children = cxArrayListCreate(NULL, sizeof(GridElm), 32);
42 _preferredSize.width = -1; 42 _preferredSize.width = -1;
43 _preferredSize.height = -1; 43 _preferredSize.height = -1;
44 44
45 return self; 45 return self;
46 } 46 }

mercurial