skafy Posted January 5, 2016 Posted January 5, 2016 Hello, Could you please tell me if it is possible to wrap TreeView Node text? Best regards Quote
Sherzod Posted January 5, 2016 Posted January 5, 2016 Hi, For now, try: Although, maybe it's not the optimal solution, there are certain moments, such as the width and line, still need to analyze... procedure TMainForm.UniFormCreate(Sender: TObject); begin UniSession.SetStyle( '#' + UniTreeView1.JSName + '_id .x-tree-node-text{'+ ' display: inline-block;'+ ' padding-left: 1em;'+ ' white-space: normal;'+ ' width: '+ IntToStr(UniTreeView1.Width - 60) +'px;'+ '}' ); end; Best regards. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.