bound tableview partly redrawing over covering custom view during resize
bound tableview partly redrawing over covering custom view during resize
- Subject: bound tableview partly redrawing over covering custom view during resize
- From: Thomas Bauer <email@hidden>
- Date: Tue, 7 Nov 2006 10:23:34 +0100
Dear list,
I am using a custom NSView that sits transparent above a NSTableView
and should cover it transparently.
The content of the TableView is supplied by an NSArrayController
which is bound to the TableView.
Everything works well, only duing a resize of the window (causing a
resizing of the NSTableView and the custom view)
the NSTableView updates and redraws its content after my custom view
leaving parts of the NSTableView uncovered (although
my custom view lies above it and should be redrawn).
(This does only happen if the ArrayController actually has content to
show, it does NOT happen if the table is empty).
Implementing:
- (void)viewDidEndLiveResize;
{
[self display];
}
in my view-class fixes the final result. But still during resizing
itself all kind of stange drawing quirks happens.
Is it wrong to assume that the drawing of views above other views
should be called automatically?
Is it different if binding is involved?
What would be the correct way to get my custom view to be the last to
be drawn or to be redrawn when the table updates?
thanks and cheers
Thomas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden