Changed the border type to NSBezelBorder for some of the controls. This is the standard on MOSX and OPENSTEP.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19417 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-05-29 12:49:01 +00:00
parent e4b52efd3f
commit cc275bf43c
4 changed files with 195 additions and 184 deletions

View file

@ -1,4 +1,14 @@
2004-05-28 21:48 Gregory John Casamento <greg_casamento@yahoo.com>
2004-05-29 08:56 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/2Controls/main.m: Had some DOS formatted lines. Simply
converted to UNIX format.
* Palettes/3Containers/main.m: Changed the default border type
for both NSTableView and NSOutlineView to NSBezelBorder in
-finishInstantiate.
* Palettes/4Data/main.m: Changed the default border type for the
NSTextView to NSBezelBorder in -finishInstantiate.
2004-05-29 07:30 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/4Data/GormNSComboBoxInspector.gorm: Improved the layout
a little.

View file

@ -109,6 +109,7 @@
[v setHasVerticalScroller: YES];
[v setHasHorizontalScroller: NO];
contentSize = [v contentSize];
[v setBorderType: NSBezelBorder];
tv = [[GormNSTableView alloc] initWithFrame:
NSZeroRect];
@ -143,6 +144,7 @@
[v setHasVerticalScroller: YES];
[v setHasHorizontalScroller: NO];
contentSize = [v contentSize];
[v setBorderType: NSBezelBorder];
ov = [[GormNSOutlineView alloc] initWithFrame:
NSZeroRect];
@ -183,8 +185,6 @@
RELEASE(ov);
RELEASE(v);
}
@end

View file

@ -217,6 +217,7 @@ int defaultDateFormatIndex = 3;
[[v contentView] setAutoresizingMask: NSViewHeightSizable
| NSViewWidthSizable];
[[v contentView] setAutoresizesSubviews:YES];
[v setBorderType: NSBezelBorder];
rect = [[v contentView] frame];