RadListBox Query

3 posts, 0 answers
  1. stevesuk
    stevesuk avatar
    6 posts
    Member since:
    Jan 2007

    Posted 04 Jun 2007 Link to this post

    I have a problem after:-

    1) I assign an Imagelist to a RadListBox (16x16 png)
    2) I dynamically add items and assign the appropriate image from the Imagelist.

    ... when run, the icon overlays the text (no margin for the text).

    Please can you tell me what I have missed doing?

    Regards,
    Steve.
  2. Georgi
    Admin
    Georgi avatar
    212 posts

    Posted 04 Jun 2007 Link to this post

    Hello stevesuk,

    You could try using RadListBoxItem.TextImageRelation property when adding an item. It's set to Overlay by default.

    I hope this helps.

     
    Sincerely yours,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. stevesuk
    stevesuk avatar
    6 posts
    Member since:
    Jan 2007

    Posted 04 Jun 2007 Link to this post

    Thank you very much.

    I knew it was an obvious solution but I just couldn't find it!

    Regards,
    Steve.
Back to Top