Make preview active by default.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16368 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-04-05 11:00:28 +00:00
parent 39458f8b40
commit 5448a979d5
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2003-04-05 12:58 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFontPanel.m (-_initWithoutGModel): Make preview active
by default.
2003-04-05 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/gnustep/gui/NSAttributedString.h:

View file

@ -569,6 +569,8 @@ static float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0,
[previewButton setTarget: self];
[previewButton setTag: NSFPPreviewButton];
[previewButton setAutoresizingMask: NSViewMinXMargin];
[previewButton setState: NSOnState];
_preview = YES;
[bottomArea addSubview: previewButton];
RELEASE(previewButton);