RadTreeview Right to Left direction text indents

5 posts, 0 answers
  1. Jo Bert
    Jo Bert avatar
    41 posts
    Member since:
    Aug 2008

    Posted 17 Aug 2009 Link to this post

    Hi,

    I'm using the current version of radtree view and I am encountering onoe problem. I want to place the arrow image in the part of the node so i set the direciton of the radtreeview to RTL and the text indent to left. I was able to achieve the image to be placed in the right part, but when the title of the node contains a long texts, the first line was indented a bit. can you advice me on this one?
    This is what it looks like:

    Home >
     How To Use This
    Wiki Library >

    The second item with the longer text was indented.
    This is my code:

    .RadTreeView,
    .RadTreeView a.rtIn,
    .RadTreeView .rtEdit .rtIn input
    {
     font-weight: normal;
     font-size: 12px !important;
     font-family:Arial;
      color: #336699;
     text-decoration: none;
     line-height: 14px;
     width:auto;
     margin:0px;
     white-space: normal;
     direction:rtl;
     text-align: left;
     margin-right:15px;
     display:inline-block !important; 
        whitewhite-space:normal !important;  
     overflow:visible !important;
    }
    .RadTreeView .rtPlus,
    .RadTreeView .rtMinus
    {
     background-image: url('TreeView/plusminus.jpg');
     vertical-align: baseline;
    }
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 20 Aug 2009 Link to this post

    Hello Jo Bert,

    Please add the following css styles to ypur page and let us know how it goes:

    .RadTreeView_rtl .rtIn, 
    .RadTreeView_rtl .rtEdit .rtIn input 
        width: 100% !important;  
        displayinline-block !important; 
        text-alignleft !important; 


    Greetings,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Hamdy Ghanem
    Hamdy Ghanem avatar
    41 posts
    Member since:
    Dec 2009

    Posted 14 Mar 2010 Link to this post

    I have the same problem and still not working
    specially the image of the paths
    like
    |
    |__

    it should be

        |
    __|

  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 17 Mar 2010 Link to this post

    Hi Hamdy Ghanem,

    Please explain in more details the issue you're experiencing and/or send us a screenshot.

    Best regards,
    Yana
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. Hamdy Ghanem
    Hamdy Ghanem avatar
    41 posts
    Member since:
    Dec 2009

    Posted 18 Mar 2010 Link to this post

    I add this line

     RadTreeView1.Attributes("dir") = "rtl"


    It works now thanks
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017