An update and more questions
An update and more questions
- Subject: An update and more questions
- From: Andreas Schwarz <email@hidden>
- Date: Tue, 19 Mar 2002 15:23:29 -0800
First off, I got [NSApp preventWindowOrdering] to work. Seems I needed
to also override shouldDelayWindowOrderingForEvent: in my view to return
YES. It was right there in the docs, I should have seen it. Oops!
Now, for some questions I have. First, NSOutlineView always
auto-expands items during drag & drop, but I would like to turn this off
(well, give the user the option, anyway). I couldn't find any other way
to do it except return NO in the outlineView:shouldExpandItem: delegate
method if there is a drag ocurring. This works wonderfully, except when
you drag onto an expandable item, the triangle still flashes as if it is
going to open (though it doesn't). So I'd prefer a more complete
solution if anyone has one :-).
Second is another NSOutlineView question. setIndentationperLevel:
applies to the top level too, which means with big indentations there is
a large gap between the edge of the view and the beginning of the first
level, which is rather a waste of space. I'd like to be able to have
the top level not indented at all (flush with the edge of the view,
then) if possible. Is there a good way to do this? I have one idea
myself, but it's a bit convoluted and if there's something easy I'm
missing I don't want to waste my time doing it that way.
Last, is there any way to change the font/size of text in an
NSMenuItem? I assume not, but if there is it would be nice to know.
Many thanks,
Andreas Schwarz
http://homepage.mac.com/schwarz
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.