Changed to use the values from the defaults database if specified. Minor fixes to the compilation process.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2608 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Ovidiu Predescu 1997-11-01 21:20:49 +00:00
parent 8b0975e122
commit 0639c42c5f
6 changed files with 32 additions and 9 deletions

View file

@ -109,7 +109,7 @@
cell_type = NSImageCellType;
cell_image = [anImage retain];
image_position = NSImageOnly;
cell_font = [[NSFont userFontOfSize:12] retain];
cell_font = [[NSFont userFontOfSize:0] retain];
return self;
}
@ -119,7 +119,7 @@
[self _init];
cell_font = [[NSFont userFontOfSize:12] retain];
cell_font = [[NSFont userFontOfSize:0] retain];
contents = [aString retain];
cell_type = NSTextCellType;
text_align = NSCenterTextAlignment;