Problem with NSSCrollView.
Problem with NSSCrollView.
- Subject: Problem with NSSCrollView.
- From: Manish Pattath <email@hidden>
- Date: Thu, 24 Apr 2003 03:00:46 -0700 (PDT)
Hi All,
I have a problem in Cocoa,can anyone pls help me find
the solution as I am new to Mac.
I have written a small application which displays
thumbnails.
These are the steps i followed.
1)Drag a custom view control onto the window.
2)Setting the Custom class to the class i
created(Thumbnailmatrix).
3)In the Interfacebuilder, select menu Layout->make
Subviewsof->ScrollView.
4)In the class (Thumbnailmatrix)I am dynamically
creating NSButtonCell's to display thumbnails.
So far so good and its working fine.
But the problem seen is when the number of
NSButtonCell's created exceeds, the size of the
scrollview. Suppose i have created 10 rows and 10
columns of NSButtonCells, I can view only about 4 rows
and 4.5 columns(with horizontal and vertical scroll
bars).
How do I make the scroll view display all the cells
that are created?
I am ready for sharing the code.
Thanks for reading me.
with rgds,
pmanish
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
_______________________________________________
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.