jQuery UI Widgets Forums Navigation Tree Reduce space between tree items in Jqxtree

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 11 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Reduce space between tree items in Jqxtree #15001

    shalini
    Member

    To reduce the space between the tree items, i tried ‘line-height: 0.8em;’ it reduces the tree items height. But if i wanted to reduce still more i change it to ‘line-height: 0.5em;’ then the child node moves inside another sub folder. Please help me to resolve this issue.

    Line Height : 0.8em:
    Works Fine

    Line Height : 0.5em Collapsed:
    Sub Folder is displayed properly
    In this image, The Sub folder Support is shown inside Products which is not correct.

    Line Height : 0.5em Expanded:
    On Expansion of Product Folder works fine
    In this image, The Sub folder Support is shown outside Products as expected.

    Regards,
    Shalini S.

    Reduce space between tree items in Jqxtree #15005

    Dimitar
    Participant

    Hello Shalini S.,

    By modifying the bottom margin you may achieve what you seek. Put this style in your page:

        <style type="text/css">
    .jqx-tree-item
    {
    margin-bottom: -5px !important;
    }
    </style>

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.