ui/cocoa/GridLayout.m

changeset 718
06eec75a6fd5
parent 538
5004b4a9b16d
child 785
b943e3d618f0
equal deleted inserted replaced
717:c35b2f18841c 718:06eec75a6fd5
291 291
292 - (NSSize)intrinsicContentSize { 292 - (NSSize)intrinsicContentSize {
293 return self.preferredSize; 293 return self.preferredSize;
294 } 294 }
295 295
296 - (void) addView:(NSView*)view fill:(BOOL)fill { 296 - (void) addView:(NSView*)view {
297 if(_newline) { 297 if(_newline) {
298 _y++; 298 _y++;
299 _x = 0; 299 _x = 0;
300 _newline = FALSE; 300 _newline = FALSE;
301 } 301 }

mercurial