mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
parent
1c26da1f27
commit
4470a157d7
1 changed files with 0 additions and 2 deletions
|
@ -100,7 +100,6 @@
|
|||
float vAccumulator = 0.0;
|
||||
NSEnumerator *e = [[self subviews] objectEnumerator];
|
||||
NSView *layoutedView = nil;
|
||||
int index = 0;
|
||||
|
||||
// Loop over all subviews
|
||||
while ((layoutedView = [e nextObject]) != nil)
|
||||
|
@ -137,7 +136,6 @@
|
|||
maxHeight - vAccumulator)];
|
||||
[layoutedView setAutoresizingMask:NSViewMinYMargin];
|
||||
hAccumulator += width;
|
||||
index++;
|
||||
}
|
||||
maxHeight -= vAccumulator; // adjust for final row
|
||||
if (maxHeight != 0) // need to grow (or shrink) the window to accommodate more (or fewer) items
|
||||
|
|
Loading…
Reference in a new issue