From 73f6eaa73be1bca99063b560447e07486265808d Mon Sep 17 00:00:00 2001 From: Sergii Stoian Date: Thu, 15 Jan 2004 10:04:04 +0000 Subject: [PATCH] NSMiniWindowView fixes git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18417 72102866-910b-0410-8b05-ffd578937521 --- Source/NSWindow.m | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/NSWindow.m b/Source/NSWindow.m index 3bd1de843..2a9b4c611 100644 --- a/Source/NSWindow.m +++ b/Source/NSWindow.m @@ -264,7 +264,7 @@ static NSCell *tileCell = nil; + (void) initialize { - NSImage *tileImage = [NSImage imageNamed: @"common_Tile"]; + NSImage *tileImage = [NSImage imageNamed: @"common_MiniWindowTile"]; tileCell = [[NSCell alloc] initImageCell: tileImage]; [tileCell setBordered: NO]; @@ -285,7 +285,7 @@ static NSCell *tileCell = nil; - (void) drawRect: (NSRect)rect { [tileCell drawWithFrame: NSMakeRect(0,0,64,64) inView: self]; - [imageCell drawWithFrame: NSMakeRect(8,8,48,48) inView: self]; + [imageCell drawWithFrame: NSMakeRect(8,4,48,48) inView: self]; [titleCell drawWithFrame: NSMakeRect(1,52,62,11) inView: self]; } @@ -371,8 +371,7 @@ static NSCell *tileCell = nil; [titleCell setEditable: NO]; [titleCell setBordered: NO]; [titleCell setAlignment: NSCenterTextAlignment]; - [titleCell setDrawsBackground: YES]; - [titleCell setBackgroundColor: [NSColor blackColor]]; + [titleCell setDrawsBackground: NO]; [titleCell setTextColor: [NSColor whiteColor]]; [titleCell setFont: [NSFont systemFontOfSize: 8]]; }