| 19 layout.hexpand = TRUE; |
19 layout.hexpand = TRUE; |
| 20 layout.hfill = TRUE; |
20 layout.hfill = TRUE; |
| 21 } else { |
21 } else { |
| 22 layout.vexpand = TRUE; |
22 layout.vexpand = TRUE; |
| 23 layout.vfill = TRUE; |
23 layout.vfill = TRUE; |
| 24 self.newline = FALSE; |
|
| 25 } |
24 } |
| 26 self.uilayout = layout; |
25 self.uilayout = layout; |
| 27 [super addView:view margin:margin]; |
26 [super addView:view margin:margin]; |
| 28 if(_orientation == NSUserInterfaceLayoutOrientationVertical) { |
27 if(_orientation == NSUserInterfaceLayoutOrientationVertical) { |
| 29 self.newline = TRUE; |
28 self.container->newline = TRUE; |
| 30 } |
29 } |
| 31 } |
30 } |
| 32 |
31 |
| 33 @end |
32 @end |