• 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
Interface builder NSScrollView problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interface builder NSScrollView problem


  • Subject: Interface builder NSScrollView problem
  • From: Darrin Cardani <email@hidden>
  • Date: Wed, 4 Feb 2004 11:53:38 -0600

I'm having a problem with Interface Builder under MacOS X 10.2.8. I have a window with a subclass of NSScrollView in it. I want to have a horizontal scroll bar, but no vertical scroll bar, as I don't want the window to be able to scroll up and down. However, when I set the size of the scroll view, it works fine. But setting the height of the NSView contained within the scroll view does nothing. I type in a new value in the info window, and as soon as I tab out of the field, it immediately jumps back to its old value. The result is that if the user clicks in the view and drags up or down, the view scrolls up and down. I need the view within the scroll view to only be as tall as the scroll view (minus the height of the horizontal scroll bar). How can I get interface builder to let me change the height of the internal view? And why does it let me type in a value, then replace it when I tab out of the field? If I can't change it, shouldn't it be grayed out?

Thanks,
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
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.

  • Prev by Date: Change style of a Window
  • Next by Date: Re: Insert two objects under the same column
  • Previous by thread: Re: Change style of a Window
  • Next by thread: NSWindow min size with toolbar
  • Index(es):
    • Date
    • Thread