Border type of column's scroll view fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17082 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sergii Stoian 2003-07-01 13:41:48 +00:00
parent ac774bd294
commit 42b6ef6744
2 changed files with 17 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2003-07-01 Serg Stoyan <stoyan@hologr.com>
* Source/NSBrowser.m (_createColumn):
Set border type of column's scroll view according to
_separateColumns flag.
2003-06-29 20:15 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:):

View file

@ -726,11 +726,19 @@ static NSTextFieldCell *titleCell;
bc = [[NSBrowserColumn alloc] init];
// Create a scrollview
sc = [[NSScrollView alloc]
initWithFrame: rect];
sc = [[NSScrollView alloc] initWithFrame: rect];
[sc setHasHorizontalScroller: NO];
[sc setHasVerticalScroller: YES];
[sc setBorderType: NSBezelBorder];
if (_separatesColumns)
{
[sc setBorderType: NSBezelBorder];
}
else
{
[sc setBorderType: NSNoBorder];
}
[bc setColumnScrollView: sc];
[self addSubview: sc];
RELEASE(sc);