Hurrah! It was as easy as this:
- (void)scrollWheel:(NSEvent *)theEvent
{
[[self nextResponder] scrollWheel:theEvent];
}
Thanks, y'all!
— andy
On Feb 19, 2011, at 4:48 PM, Quincey Morris wrote:
> On Feb 19, 2011, at 16:25, Peter Lübke wrote:
>
>>> My question is this: how do I get t
HI All,
I have a NSTableView/NSScrollView setup that I've configured automatically to
resize to contain the content of the table. This may sound silly, but I don't
want scrolling behavior, but NSTableView seems to be designed to be inside a
NSScrollView.
My question is this: how do I get th
Hi there great and wise Cocoa-Dev!
I am wondering if anyone knows if there has been any movement regarding how
selection is handled in NSCollectionViews. I see there was some conversation
on this subject a couple of years back
(http://www.cocoabuilder.com/archive/cocoa/217489-selection-in-nsco
Hi there!
I am having a bizarre problem with NSTokenField. In Interface Builder, having
bound the field's "value" binding to an NSArrayController containing
NSManagedObjects, and passing the value through a ValueTransformer, the field's
tokens show up, displaying the proper values. However, w
Thanks for your help!
I am indeed working with Snow Leopard.
Here are my bindings & configuration:
— NSTreeController, IB Name "Collections"
Mode: Entity
Entity Name: Collection
Children Key Path: children [a relationship on the Collection managed object]
Prepares Content: YES
Editable: YES
Fet
Hi All,
I've dug around in the archives and found several threads addressing this
question, but the solutions don't seem to work.
NB: all binding was done in Interface Builder
I have an NSOutlineView with its only column bound at
treeController.arrangedObjects.name to an NSTreeController that
Hi All,
I'm having a strange behavior with an NSTextView bound through Interface
Builder to a Core Data backing. The textView is part of a standard
master-detail setup, and is not updating its value when the selection is
changed in the master list. The value only displays after the mouse has
Hi all,
I am having trouble with NSComboBoxCell's setButtonBordered: setting,
having just updated to the latest XCode+IB versions in Snow Leopard.
It appears that my choices are now between a bordered button with one
arrow (setButtonBordered:YES) or a bordered button with two arrows
(set
Thanks so much for your help! I got this to work beautifully, the
only problem is that I can't now get the scrollview (or its enclosing
view, etc.) to shrink back when the text/rows get shorter, since the
frame of the documentView does not seem to get smaller as the text
recedes (I haven't
so as to control when and how
it grows and/or applies scrolling behavior.
Whew! I hope that's clearer.
Thanks again for your help.
— a
On 21 Jul 2009, at 12:12 PM, Quincey Morris wrote:
On Jul 21, 2009, at 11:55, Andrew Shamel wrote:
I'm trying to figure out how to create an
Hi All,
I've dug around through the archives, but couldn't turn anything up
that addresses this question, so I turn to the collective wisdom of
the list.
I'm trying to figure out how to create an NSScrollView subclass that
expands vertically rather than scrolling, up to a certain height.
versions, if you're not already.
Depending on which version you have, the setSize may be being done
for you. Or not.
Sandy
On Jan 17, 2009, at 8:26 PM, Andrew Shamel wrote:
Greetings Cocoa-Dev!
I am having the hardest time with a persistent and strange error
with Apple's ImageA
Thanks, Sandy. I found a later version (in the Source View example
code), and alas, even with the size set, the same thing is happening.
I confess that I don't know as much about view/cell drawing as I
might. Has anyone seen this kind of rendering before, if not in this
situation?
Thank
Greetings Cocoa-Dev!
I am having the hardest time with a persistent and strange error with
Apple's ImageAndTextCell in my NSOutlineView.
I have the ImageAndTextCell set to be the outline's data cell via
NSTableColumn's -setDataCell: method, and I set the image of the cell
in the outlineVi
Greetings Cocoa-Dev!
I am having the hardest time with a persistent and strange error with
Apple's ImageAndTextCell in my NSOutlineView.
I have the ImageAndTextCell set to be the outline's data cell via
NSTableColumn's -setDataCell: method, and I set the image of the cell
in the outlineVi
Ahh, brilliant!! It worked a treat.
Thanks so much!
Try delaying your call to expandItem: in your awakeFromNib.
- (void)expandAllItems {
[outline expandItem:nil expandChildren:YES];
}
- (void)awakeFromNib {
/* snip */
[self performSelector:@selector(expandAllItems) withOb
I've trolled through the archives looking for help on this, but I
can't seem to find anything that quite works. I'm trying to set it up
such that an NSOutlineView starts out fully expanded. In the
delegate, I have the following code:
- (void)awakeFromNib
{
[outline expandItem:nil
17 matches
Mail list logo