Hello all,

I have discovered that resizing a NSTabView (setFrame:) does not resize the views of the tab view items, like it does on MacOSX. Can anybody confirm, that this is a bug? Or can this be altered with some kind of resizing mask that might have a different default value on MacOSX?

Please add the following method to NSTabView.m

- (void)setFrame:(NSRect)rect
{
   [super setFrame:rect];
   NSRect contentRect = [self contentRect];
   int i, count = [self numberOfTabViewItems];
   for (i = 0 ; i < count ; i++)
     {
      NSView *view = [[self tabViewItemAtIndex:i] view];
      [view setFrame:contentRect];
     }
}

Regards,

 Andreas



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to