"Compound" objects in a scrollView

Hi, I was just wondering if anyone had solved this yet because it seems like there are many ways to do it.

I have a scrollView which currently contains just loads of widget.newButton() objects, and it works fine. However, I need to create a scrollView which combines a small image next to some text. Both the image and the text will have to be clickable as a standard button.

I guess I can insert an image object into the button widget, but how would I allign text inside it like that?

If I create a display group to hold the image and the text as a button, only the text part will be clickable.

Thanks in advance! [import]uid: 133116 topic_id: 26624 reply_id: 326624[/import]

Why do you keep a separate text object for each button?
Why not set a label in widget.newButton? [import]uid: 64174 topic_id: 26624 reply_id: 107877[/import]

As far as I know, the labels don’t wrap, and my text is likely in some circumstances to be multi-line.
It isn’t really a question about the scrollview really, or labels and text, it is really a question about what is the best way to make a compound object into a button (e.g. an image, some lines maybe and one or more bits of text) [import]uid: 133116 topic_id: 26624 reply_id: 107880[/import]