Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Horizontal scroller in table view



On Thu, 21 Apr 2005 17:20:42 +0900, Iyanaga Nobumi
<email@hidden> said:
>Hello,
>
>Another question on the table view.  I have only one column in my table
>view.  In Interface Builder, in the Info -> Attributes panel, I have
>checked vertical scroller and horizontal scroller.  I have also checked
>"autoresizes columns to fit", and unchecked "Automatically hide
>scrollers".  My column has the same width as the table view width.  But
>when I run my application, when there are text items which exceed the
>width of the table, I cannot see any horizontal scroller.
>
>What should I do to make the horizontal scroller function as expected
>(i.e. appear when there are text items which exceed the table width, so
>that I can see the right end of the longest row).

The horizontal scroller is not appearing because there is nothing to scroll
to. As you say, the column has the same width as the table view width. The
horizontal scroller appears only if the column (or the sum of all columns)
is wider than the table view width. There is no command that means "make
this column as wide as the widest string value in any of its cells" - the
column known nothing about the cells. If you want the column to be wider, it
is up to you to make it wider. m.

-- 
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.