That was exactly it. Thank you very much!
Mike
On Mar 11, 2009, at 11:48 AM, Andy Lee wrote:
I'm guessing the problem is that you are only calling setFrame: on
subview 0, thereby increasing the total width of the subviews. You
are assuming subview 1 will adjust by the same amount as you a
I'm guessing the problem is that you are only calling setFrame: on
subview 0, thereby increasing the total width of the subviews. You
are assuming subview 1 will adjust by the same amount as you added/
subtracted from subview 0. But actually, adjustSubviews scales both
subviews down so the
Well, I just rewrote it, and it's doing exactly the same thing. You
can see this from the debug output:
2009-03-11 11:15:50.092 SkootUI[13145:10b] Will Set To: {{0, 0}, {743,
604}}
2009-03-11 11:15:50.097 SkootUI[13145:10b] After: {{0, 0}, {743, 604}}
2009-03-11 11:15:50.179 SkootUI[131
Nope that didn't do it. Same symptoms. Any other ideas before I throw
in the gauntlet and rewrite it?
On Mar 10, 2009, at 5:41 PM, Jesper Storm Bache wrote:
When you modify a window it registers itself as needing redrawing in
the current run loop.
If you are performing active tracking, you
Thanks, I will try that tomorrow. The code isn't mine, I'm just trying
to use it with minimal change. If this doesn't fix it, I probably will
just rewrite it to use the separate events.
Mike
On Mar 10, 2009, at 5:41 PM, Jesper Storm Bache wrote:
When you modify a window it registers itself
When you modify a window it registers itself as needing redrawing in
the current run loop.
If you are performing active tracking, you may have to do so yourself.
Try calling [window flushWindowIfNeeded] on your window at the end of
your loop (inside the loop).
What is the reason for your exp
Hi,
I am tracking the mouse pointer to dynamically resize a splitter as a
separate drag handle is dragged. This is done in mouseDown: of the
drag handle with a custom event loop. The loop looks like this:
while (keepOn)
{
NSAutoreleasePool *pool = [[NSAutoreleasePool all