DpTreeView column width

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
User avatar
tmalone
Posts: 182
Joined: Mon Nov 22, 2010 11:21 pm

DpTreeView column width

Post by tmalone »

I am using the DpTreeView widget to allow the user to pick a DPE for a development tool.

I have sized the DpTreeView object to 400 wide and high. But, the first column is still about half of that.

I studied the documentation very carefully, and just cannot find the property to change to expand that column.

Can someone tell me the magic: object.???(380)

Thanks,

Todd Malone

User avatar
tmalone
Posts: 182
Joined: Mon Nov 22, 2010 11:21 pm

Re: DpTreeView column width

Post by tmalone »

It appears to be a non-issue, as you select wider and wider structures, the column adjusts automatically to the widest record.

Auto adjust is fine for me.

Todd

rcampos
Posts: 13
Joined: Sun Mar 04, 2018 1:20 pm

Re: DpTreeView column width

Post by rcampos »

Hi Todd,
I not sure if it is what you need, but you can try:

TREE_NAME.setColumnWidthMode(colIndex, TREE_WIDTH_FIXED);
TREE_NAME.setColumnWidth(colIndex, 380);

hope it helps you

Post Reply
3 posts • Page 1 of 1