• 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: Showing table scrollbars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing table scrollbars


  • Subject: Re: Showing table scrollbars
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 13 Jul 2006 06:47:11 -0400


If there is nothing to scroll, the scroll bar is disabled - this is "The Way Things Are". Why would you want to fool your users into thinking they can scroll? Most users would consider this an ugly looking bug. :-)


If you really want to do this, you could always subclass NSTableView and override -sizeToFit to always size its height to be something slightly taller than the height of the "-contentSize" of its "-enclosingScrollView". Note that this would actually make your table scrollable; it wouldn't just show the scroll bar as enabled. I *have not tried this* but I think that (or something *like* that) should work, but I wouldn't recommend making yours "that one app that has broken scroll bars".

--
I.S.


On Jul 13, 2006, at 12:04 AM, Chad Armstrong wrote:

Is there a setting so a table's scrollbar is always visible, regardless if there are a lot of items or no items in the table? I don't mean just the area which would contain the scrollbar, but the blue scrollbar always being visible.

Chad Armstrong
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Showing table scrollbars (From: Chad Armstrong <email@hidden>)

  • Prev by Date: Re: Drag and Drop: NSImageView masks/prevents superview from receiving drag
  • Next by Date: Rotating images and scaling the results: some files pixelate
  • Previous by thread: Re: Showing table scrollbars
  • Next by thread: Drag and Drop: NSImageView masks/prevents superview from receiving drag
  • Index(es):
    • Date
    • Thread