ui/cocoa/BoxContainer.m

changeset 811
1391ba7e533f
parent 799
f8ff8df41713
child 846
ffa983c223c1
equal deleted inserted replaced
810:7b5ba65b246f 811:1391ba7e533f
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

mercurial