mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
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:
parent
ac774bd294
commit
42b6ef6744
2 changed files with 17 additions and 3 deletions
|
@ -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:):
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue