Jump to content

How to use a bigger ico in UniTreeView?


55143681

Recommended Posts

Add the following CustomCSS:

You will also need to change the image sizes for TUniNativeImageList to 32 and load 32px images.

Play around with the settings below to get the desired alignment for the text and elbow indicators.

.x-tree-icon {
    width: 32px;
    height: 32px;
    line-height: 32px;
}
.x-tree-elbow-img {
    width: 18px;
    height: 30px;
    line-height: 32px;
}
.x-tree-node-text {
     line-height: 24px;
}

 

opera_2018-10-09_11-06-56.png

bds_2018-10-09_11-09-06.png

Link to comment
Share on other sites

On 10/9/2018 at 5:10 PM, GerhardV said:

Add the following CustomCSS:

You will also need to change the image sizes for TUniNativeImageList to 32 and load 32px images.

Play around with the settings below to get the desired alignment for the text and elbow indicators.


.x-tree-icon {
    width: 32px;
    height: 32px;
    line-height: 32px;
}
.x-tree-elbow-img {
    width: 18px;
    height: 30px;
    line-height: 32px;
}
.x-tree-node-text {
     line-height: 24px;
}

 

opera_2018-10-09_11-06-56.png

bds_2018-10-09_11-09-06.png

works well ,thank you very much.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...