All,

I am tasked with creating a receipt for printing purposes, imagine a grocery
receipt:

Item 1............$5
Item 2............$5.95
....

Given that the list of items on a receipt can be as long as needed, I need a
way to add the items to the NSView and have the items properly size
themselves, and have static data below the list move to new locations like
so:

*****Happy Store Grocery*******

item 1.........................$5
item 2.........................$6
item 3.........................$7


******** CUSTOMER COPY********    <-- This needs to move down when the items
list grows.


I've tried using the NSTextfield, but it hasn't been too successful.  I've
also tried an NSTableView, but can't figure out how to force it to resize
based on the number of rows in the table.

What approach would you use, and could you provide a code sample?


Thanks!!
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to