| 111:81c4f73236a4 | 112:c3f2f16fa4b8 |
|---|---|
| 32 | 32 |
| 33 #import <cx/array_list.h> | 33 #import <cx/array_list.h> |
| 34 | 34 |
| 35 typedef struct GridElm { | 35 typedef struct GridElm { |
| 36 NSView *view; | 36 NSView *view; |
| 37 int margin; | 37 NSEdgeInsets margin; |
| 38 int x; | 38 int x; |
| 39 int y; | 39 int y; |
| 40 int colspan; | 40 int colspan; |
| 41 int rowspan; | 41 int rowspan; |
| 42 int preferred_width; | 42 int preferred_width; |
| 54 BOOL expand; | 54 BOOL expand; |
| 55 } GridDef; | 55 } GridDef; |
| 56 | 56 |
| 57 @interface GridLayout : NSView<Container> | 57 @interface GridLayout : NSView<Container> |
| 58 | 58 |
| 59 @property UiContainerX *container; | |
| 60 | |
| 59 @property int columnspacing; | 61 @property int columnspacing; |
| 60 @property int rowspacing; | 62 @property int rowspacing; |
| 61 @property CxList *children; | 63 @property CxList *children; |
| 62 @property NSSize preferredSize; | 64 @property NSSize preferredSize; |
| 63 | 65 |