Items display with padding

3 posts, 1 answers
  1. Michael Markham
    Michael Markham avatar
    2 posts
    Member since:
    Feb 2010

    Posted 04 Mar 2010 Link to this post

    Hello,

    I'm a new customer of Telerik and I'm using the ListBox tool for the first time.  When I add items to the ListBox they're displayed with about 20 pixels of padding along the left-edge.

    It looks like this:
    http://screencast.com/t/ZjM0NTUzMDIt

    How do I adjust that?  At first I thought the ListBoxItems needed to have "Checkable" set to false, but that didn't do the trick. 

    Other suggestions?

    Thanks,

    Michael
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 04 Mar 2010 Link to this post

    Hi Michael,

    Try setting the left padding value as shown below and see whether it helps.

    CSS:
     
        .RadListBox .rlbItem 
        { 
         padding2px 5px 2px 0px !important; 
        } 

    All the best,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Michael Markham
    Michael Markham avatar
    2 posts
    Member since:
    Feb 2010

    Posted 05 Mar 2010 Link to this post

    Hi Shinu,

    Thanks for that... It turns out that the site's main style sheet had defined the behavior of <ul> and <li>, which resulted in the problem.

    Your suggestion to override those values was exactly right.

    Michael
Back to Top