• 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
Demarkation seen on NSScrollView,Why is it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Demarkation seen on NSScrollView,Why is it?


  • Subject: Demarkation seen on NSScrollView,Why is it?
  • From: Manish Pattath <email@hidden>
  • Date: Mon, 19 Apr 2004 07:57:57 +0100 (BST)

Hi All,
I have an NSMatrix inside an NSScrollView - this
displays images in a folder. A slider on my window
allows scaling of the images displayed in the
ScrollView.
When the number of images are more i display the
Scrollbars else don't display.
I have set "sizeToCells" on my Matrix so my Scrollbars
work really well. so far so fine.
but when i resize the images or when there is less
number of images displyed in the scrollview, i see a
slight demarkation on my scrollview because of
sizeToCells.
Any click after the demarkation, mouseDown does not
respond (obviously as i have my Matrix responding to
mouseDown and not the Scrollview).

I want to remove the demarkation from the Scrollview
so that where ever the moseDown occurs, there is
response.

I cannot remove sizeToCells as i will not get the
Scrollbar if i do so.

Also, i tried setting the background color of the
scrollview though the demarkation is removed, the
white portions [ below the NSMatrix of the images]
does not respond to mouseDown.

i have tried calling "display" or "setNeedsDisplay" it
is not of any help.

In the first place , why am i seeing the demarkation?

Is it a part of the scrollview that is displayed?

Am i doing something wrong?

Thanks.

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
_______________________________________________
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.


  • Follow-Ups:
    • Re: Demarkation seen on NSScrollView,Why is it?
      • From: "Louis C. Sacha" <email@hidden>
  • Prev by Date: Re: Newbie question re: NSArrayController
  • Next by Date: Re: NSString's intValue method
  • Previous by thread: Re: NSSearchField alternative for 10.2.x?
  • Next by thread: Re: Demarkation seen on NSScrollView,Why is it?
  • Index(es):
    • Date
    • Thread