[MonoTouch] Best approach for horizontal thumbnail image view scrolling

sisnaz jdegrey at comcast.net
Fri Oct 28 15:20:24 EDT 2011


Thanks Nic, I was finally able to get it to work and it looks great :)

My biggest problem (aside from being new to this framework) was this:

scroll.ContentSize.Width = this.View.Frame.Size.Width * totalWidth;

but that must be a struct, because I finally realized the ContentSize.Width
wasn't getting set.
This fixed my issue:

scroll.ContentSize = new SizeF(myView.Frame.Size.Width,
this.View.Frame.Size.Height);

Thanks for your input and helpful tips!

-----
There was only 1 trilogy
--
View this message in context: http://monotouch.2284126.n4.nabble.com/Best-approach-for-horizontal-thumbnail-image-view-scrolling-tp3942332p3948965.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list