Ok, I just checked my code and I found exactly that. I had a conditional
statement that wasn't balanced with a [NSGraphicsContext restoreGraphicsState].
I should of immediately thought of that as too many things were not operating
correctly. The biggest problem was that I didn't see these error
Unbalanced +[NSGraphicsContext saveGraphicsState] in your custom view's
-drawRect? (Or in one of its subviews'?)
--Kyle Sluder
On Feb 2, 2013, at 9:19 PM, Patrick Cusack wrote:
> You can see an example of the problem here:
>
> http://i45.tinypic.com/fu8bpz.png
>
> On Feb 2, 2013, at 8:06 PM,
On 03/02/2013, at 3:56 PM, Patrick Cusack wrote:
> I call the following in my windowControllerDidLoadNib:
>
> [[scrollView contentView] setCopiesOnScroll:NO];
Why? Copy On Scroll is usually a good thing. If it's set to NO you have to
redraw the entire content every time, which is rarel
You can see an example of the problem here:
http://i45.tinypic.com/fu8bpz.png
On Feb 2, 2013, at 8:06 PM, Graham Cox wrote:
>
> On 03/02/2013, at 1:59 PM, Patrick Cusack wrote:
>
>> Sorry, I have asked this before, but I am genuinely perplexed and need help.
>> I have an NSScrollView enclosi
> In IB, you can either add a scroll view than add a custom view to it, or add
> a custom view and then use 'Embed in Scrollview' to wrap it in the
> scrollview. Both work fine for me.
I have embedded a custom view inside an NSScrollView. I have set the
NSScrollview to be NSViewWidthResizable,
On 03/02/2013, at 1:59 PM, Patrick Cusack wrote:
> Sorry, I have asked this before, but I am genuinely perplexed and need help.
> I have an NSScrollView enclosing a custom view. When, I launch my
> application, I see the scroll bars of my NSScrollView being echoed or
> duplicated in the middl
Sorry, I have asked this before, but I am genuinely perplexed and need help. I
have an NSScrollView enclosing a custom view. When, I launch my application, I
see the scroll bars of my NSScrollView being echoed or duplicated in the middle
of my custom view. It is so annoying. I have tried everyth