Hello everyone,

Currently I'm finding my way around with MonoTouch and I really like the way
it works.
Mostly because of some great help I recieved from Danny Pronk. He showed me
that a lot of things were possible, and it made me made a cool app so far.

There is only one problem I'm facing.. I've got a few which shows
information about an advertisement and his retailer, the setup is something
like this:

Address
- Street
- Postal

Contact
- email
-phone

Description
- Large description text about the product.

A description could be very large, so a scrollview is needed to show all of
the text. But how am I able to accomplish this? I don't want only the
TextView to be scrollable but I want the hole View to be scrollable. The
reason I want this is because I think that a scrollable textview looks
rather ugly.

How can I accomplish this by code? I tried a few things to test, like:

uiScroll.Frame = new RectangleF(0, 0, 320, 460);

textView.ContentSize = new SizeF(320, 1200);

uiScroll.ContentSize = new SizeF(320, 1200);

But the text just gets cut off.. so how can I auto resize the textview to
the text?

I hope its clear enough, if not just let me know and I'll try to explain it
further.

Thanks,
Mittchel
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to