[no subject]
[no subject]
- Subject:
- From: Nick <email@hidden>
- Date: Mon, 10 Aug 2015 14:00:03 +0300
Hello
I am trying to make a view that displays images and a table view's columns
in this way:
http://rghost.net/8kmdcTnnN/image.png
and
http://rghost.net/6BwyMsyXy/image.png
Basically, there are several image views, and a table view with the
corresponding number of columns. Each image above the tableview's column
should be exactly the same width as the corresponding column. And when the
window's width is changed (resized), all images and all table view columns
should stretch appropriately (the images should resize automatically)
The number of columns (and images) should be able to be changed. There can
be 2, 3 and 4 columns in the table view. And when there are fewer columns,
the images on top of them should be scaled up to fill the empty space (and
the columns should stretch up as well). You can see it on the pictures.
How to implement this kind of functionality? What I am thinking now - is to
create several content views, one for each situation (2 columns, 3 columns,
4 columns), and just switch between them whenever I need to change the
number of columns in a table view.
But I am wondering, what would be a more elegant way to do this? How would
you do it?
Thank you
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden