From fbaa1522c3f9438b06c4acffaa1e72a3e75e3804 Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Thu, 8 Feb 2001 07:02:39 +0000 Subject: [PATCH] Cenyter miniwindow title git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9051 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Source/NSWindow.m | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 621bcd8d4..31cd651fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-02-08 Richard Frith-Macdonald + + * Source/NSWindow.m: Center title in miniwindow view. + Wed Feb 7 21:44:41 2001 Nicola Pero * Source/NSBrowser.m ([-reloadColumn:]): Save the selected cells diff --git a/Source/NSWindow.m b/Source/NSWindow.m index dc127988f..931a95ef1 100644 --- a/Source/NSWindow.m +++ b/Source/NSWindow.m @@ -315,6 +315,7 @@ static NSCell *tileCell = nil; [titleCell setSelectable: NO]; [titleCell setEditable: NO]; [titleCell setBordered: NO]; + [titleCell setAlignment: NSCenterTextAlignment]; [titleCell setDrawsBackground: YES]; [titleCell setBackgroundColor: [NSColor blackColor]]; [titleCell setTextColor: [NSColor whiteColor]];