diff options
Diffstat (limited to 'cocoa/PlatCocoa.mm')
| -rw-r--r-- | cocoa/PlatCocoa.mm | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 66d9aad4e..4789f7528 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1702,7 +1702,7 @@ void ListBoxImpl::Create(Window & /*parent*/, int /*ctrlID*/, Scintilla::Point p  	NSRect lbRect = NSMakeRect(pt.x, pt.y, 120, lineHeight * desiredVisibleRows);  	NSWindow *winLB = [[NSWindow alloc] initWithContentRect: lbRect -						      styleMask: NSBorderlessWindowMask +						      styleMask: NSWindowStyleMaskBorderless  							backing: NSBackingStoreBuffered  							  defer: NO];  	[winLB setLevel: NSFloatingWindowLevel]; @@ -1780,7 +1780,7 @@ PRectangle ListBoxImpl::GetDesiredRect() {  	if (Length() > rows) {  		[scroller setHasVerticalScroller: YES]; -		rcDesired.right += [NSScroller scrollerWidthForControlSize: NSRegularControlSize +		rcDesired.right += [NSScroller scrollerWidthForControlSize: NSControlSizeRegular  							     scrollerStyle: NSScrollerStyleLegacy];  	} else {  		[scroller setHasVerticalScroller: NO]; | 
