ListView image problem

T

TheJediMessiah

Hi,

I have a single column listview in which I want the first row to
display an image and the following rows display some text.
The image is displayed correctly, being aligned to the left of the
column but the text in the rows below appear after the end of the
image.
For example

+--------------------------------+
| IMAGE |
| TEXT |
| TEXT |
| TEXT |
+--------------------------------+


How can I align the text in the rows under the image to the left so it
looks like this

+--------------------------------+
| IMAGE |
| TEXT |
| TEXT |
| TEXT |
+--------------------------------+


Cheers,
 
I

intrader

TheJediMessiah said:
Hi,

I have a single column listview in which I want the first row to
display an image and the following rows display some text.
The image is displayed correctly, being aligned to the left of the
column but the text in the rows below appear after the end of the
image.
For example

+--------------------------------+
| IMAGE |
| TEXT |
| TEXT |
| TEXT |
+--------------------------------+


How can I align the text in the rows under the image to the left so it
looks like this

+--------------------------------+
| IMAGE |
| TEXT |
| TEXT |
| TEXT |
+--------------------------------+


Cheers,
If you can live with the extra space use a br element after the image. You
may also look up the deprecated attributes vspace and hspace.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top