• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSOutlineView with ImageAndTextCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView with ImageAndTextCell


  • Subject: Re: NSOutlineView with ImageAndTextCell
  • From: Matt Jaffa <email@hidden>
  • Date: Fri, 30 Apr 2004 00:42:59 -0600

Okay I figured it out,

I just set the NSImage to scale when it is resized and I resized it and now it fits.

But now when I resize it, it resizes all the references to that image. There is one image I want to remain big, but resizes this image resizes them all since they all get the image from the same reference.

So is there a way to make a copy of the NSImage and just resize that copy?

Thanks,
Matt


On Apr 29, 2004, at 8:05 PM, Matt Jaffa wrote:

I should say that the NSTextFieldCell is subclassed as an image and Text field combined,
but the image i am putting in is too big. So all the images combined in the NSOutlineView cover the table and the text up cause they are too big.


On Apr 29, 2004, at 7:53 PM, Matt Jaffa wrote:

Hi,

I have taken the subclassed NSTextFieldCell from the DragNDropOutlineView example from the /Developers folder.

Now I replace my outline view's TableColumn with the subclassed cell. And when my data source sets the image of the cell, the image is huge and it looks really really funny. Is there a way to size down the image, like rescale it?

thanks,
Matt
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.


References: 
 >NSOutlineView with ImageAndTextCell (From: Matt Jaffa <email@hidden>)
 >Re: NSOutlineView with ImageAndTextCell (From: Matt Jaffa <email@hidden>)

  • Prev by Date: Re: favicons
  • Next by Date: Re: CamelBones
  • Previous by thread: Re: NSOutlineView with ImageAndTextCell
  • Next by thread: X-Code: multifile Global find/replace?
  • Index(es):
    • Date
    • Thread