diff -u gnustep-gui-0.9.5.old/Source/NSToolbarItem.m gnustep-gui-0.9.5/Source/NSToolbarItem.m --- gnustep-gui-0.9.5.old/Source/NSToolbarItem.m 2005-12-01 16:53:32.000000000 -0500 +++ gnustep-gui-0.9.5/Source/NSToolbarItem.m 2005-12-01 16:11:10.000000000 -0500 @@ -67,13 +67,13 @@ typedef enum { ItemBackViewDefaultHeight = 60, ItemBackViewRegularHeight = 60, - ItemBackViewSmallHeight = 50 + ItemBackViewSmallHeight = 36 } ItemBackViewHeight; typedef enum { ItemBackViewDefaultWidth = 60, ItemBackViewRegularWidth = 60, - ItemBackViewSmallWidth = 50 + ItemBackViewSmallWidth = 36 } ItemBackViewWidth; static const int ItemBackViewX = 0; @@ -236,7 +236,7 @@ if (label == nil || [label isEqualToString: @""]) label = @"Dummy"; attrStr = [[NSAttributedString alloc] initWithString: label attributes: attr]; - + textWidth = [attrStr size].width + 2 * InsetItemTextX; if (layoutedWidth != -1 && textWidth > layoutedWidth && displayMode != NSToolbarDisplayModeIconOnly) @@ -254,8 +254,6 @@ break; case NSToolbarDisplayModeIconOnly: [self setImagePosition: NSImageOnly]; - layoutedHeight -= [attrStr size].height + InsetItemTextY; - layoutedWidth -= [attrStr size].width + InsetItemTextX; break; case NSToolbarDisplayModeLabelOnly: [self setImagePosition: NSNoImage];