SA project - Equipment Treeview - Column width

Hi, 

Can we increase/extend the column width of the Treeview cell I've indicated?

There are room for more width usage, and the user could see more of the tag/description without using the scroll bar. 

Appreciate any tip and help,

Regards,

Rune

Parents Reply Children
  • Thanks Olivier,

    Also got this from the support desk: 

    The width of the item fields is automatically calculated in the _Treeview_OnInit() of the Treeview.ci in the SA_Include project in the following lines:

     // Setup Treeview (item) width after initialising custom columns        nItemColumnWidth = nWidth - ((nTopPriorities + bDisplayShelved) * (nPrioritySpacing + nPriorityCountSpacing));        nItemColumnWidth = nItemColumnWidth - _Treeview_GetCustomColumnsWidth(hViewArray, nItemColumnWidth - 20);  // reserve some min. space for the item column


    The variable nWidth is the value declared in the TreeView genie by setting the "Treeview Width" parameter (see pic below). Then, it is taking into account as well some space to show the alarm priorities.



    Thus, if you want to make the item field wider, you need to increase the "Treeview Width" parameter in the genie settings.