FROM : Troy Stephens
DATE : Thu Mar 27 21:53:00 2008
On Mar 27, 2008, at 9:50 AM, <email_removed> wrote:
> Hi,
>
> NSScroller has a small view, by default two pixels high, just above
> the scroller and below the NSTableHeaderView's corner view. How can I
> get at this view? If you look at the XCode interface you can see they
> have put an icon in this view (the one that splits the editor view)
> and made it larger. I would like to remove the view completely so the
> scroller goes all the way up to the edge of the corner view.
>
> This question has been addressed before in the archives, but
> unfortunately the link pointing to an answer is no longer valid.
>
> Thanks.
> F.
See NSTableView.h:
/* Get and set the cornerView. The cornerView is the view that appears
directly to the right of the headerView above the vertical NSScroller.
The scroller must be present for the cornerView to be shown. Calling -
setCornerView: may have the side effect of tiling the
enclosingScrollView to accomodate the size change. The default value
is an internal class that properly fills in the corner.
*/
- (void)setCornerView:(NSView *)cornerView;
- (NSView *)cornerView;
--
Troy Stephens
Cocoa Frameworks
Apple, Inc.
DATE : Thu Mar 27 21:53:00 2008
On Mar 27, 2008, at 9:50 AM, <email_removed> wrote:
> Hi,
>
> NSScroller has a small view, by default two pixels high, just above
> the scroller and below the NSTableHeaderView's corner view. How can I
> get at this view? If you look at the XCode interface you can see they
> have put an icon in this view (the one that splits the editor view)
> and made it larger. I would like to remove the view completely so the
> scroller goes all the way up to the edge of the corner view.
>
> This question has been addressed before in the archives, but
> unfortunately the link pointing to an answer is no longer valid.
>
> Thanks.
> F.
See NSTableView.h:
/* Get and set the cornerView. The cornerView is the view that appears
directly to the right of the headerView above the vertical NSScroller.
The scroller must be present for the cornerView to be shown. Calling -
setCornerView: may have the side effect of tiling the
enclosingScrollView to accomodate the size change. The default value
is an internal class that properly fills in the corner.
*/
- (void)setCornerView:(NSView *)cornerView;
- (NSView *)cornerView;
--
Troy Stephens
Cocoa Frameworks
Apple, Inc.
| Related mails | Author | Date |
|---|---|---|
| slasktrattenator | Mar 27, 17:50 | |
| Troy Stephens | Mar 27, 21:53 | |
| slasktrattenator | Mar 28, 00:26 | |
| Troy Stephens | Mar 28, 00:41 | |
| slasktrattenator | Mar 28, 02:17 | |
| Hamish Allan | Mar 28, 02:52 | |
| Troy Stephens | Mar 28, 17:44 | |
| slasktrattenator | Mar 29, 12:57 | |
| Steve Weller | Mar 29, 16:39 | |
| slasktrattenator | Mar 29, 20:29 |






Cocoa mail archive

