Re: splitView (was OH MY.....)
Re: splitView (was OH MY.....)
- Subject: Re: splitView (was OH MY.....)
- From: Brant Vasilieff <email@hidden>
- Date: Sat, 27 Oct 2001 15:59:09 -0700
It's a bug. The vertical bar isn't being drawn, so you end up seeing
the remnants of your other views.
To get around it, you can subclass NSSplitView, and override
drawDividerInRect:
HTH,
Brant
P.S. I may be proving myself wrong by replying, but there's no need to
shout to get attention. :-)
On Saturday, October 27, 2001, at 02:35 , cocoa-dev-
email@hidden wrote:
Something very VERY unusual is happening to me and I have NO IDEA what
it
is.
I have a split view that has a NSTextView on the left and a NSTabView
on the
right. I went to Layout > Group > Split View and it seemed to work ok. I
made it vertical as you may have noticed.
When it comes to trying out the interface, I get no lines in the view.
When
I test it with a build and resize the split view, all hell breaks
loose. It
looks like Quartz never flushes and the elements in the window are
continually copied over one another. The shadow gets dark as night
because I
assume it is copied over itself also.
Is this a bug or did I totally mess something up?