Re: quirky table view behavior
Re: quirky table view behavior
- Subject: Re: quirky table view behavior
- From: Ryan Stevens <email@hidden>
- Date: Sat, 31 May 2003 07:45:14 -0700
The first thing I would try is...
- (void)awakeFromNib
{
[[tableView enclosingScrollView] tile];
}
According to the docs..
- (void) tile
Lays out the components of the receiver: the content view, the
scrollers, and the ruler views. You rarely need to invoke this method,
but subclasses may override it to manage additional components.
Just the first thing to come to mind, hope it helps.
On Saturday, May 31, 2003, at 04:54 AM, Li'l D wrote:
I'm having a peculiar problem with table views; the scrollbar is not
displaying properly. When I have a table view with contents that
scroll (out of its clipview) the scrollbar doesn't display properly
upon application launch -- the scrollbar only displays itself
correctly after the window has been resized (the tableView being set
to automatically resize with the window). It must be resized by even
one pixel before the scrollbar appears.
Because a picture can be worth as many as a thousand words, I've taken
screen shots of this phenomenon on a table view that contains a long
list of Yahoo emoticons:
http://homepage.mac.com/dakini56/tmp/smile.html
Another very similar quirk I'm experiencing is when I set "Autoresizes
Columns to fit" in Interface Builder -- the autoresizing doesn't take
place until after the window has been resized just as with the
scrollbar problem.
As a Cocoa novice, I'm wondering what I'm doing wrong to create this
quirky table view behavior. I've made a search through the Mamasan
archives but didn't find any mention of this.
_______________________________________________
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.