ui/cocoa/GridLayout.m

changeset 109
c3dfcb8f0be7
parent 103
6606616eca9f
child 110
c00e968d018b
equal deleted inserted replaced
108:77254bd6dccb 109:c3dfcb8f0be7
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