Current filter:
          You should refresh the page.
          Not Logged In

          Minimum DefaultRowHeight

          0
            • With TdxTreeList the DefaultRowHeight was 16. But with TcxTreeList it is 17 and the treelist doesn't allow a smaller number. and when I attach a ImageList (16x16 images) to StateImages, the DefaultRowHeight is set to 18, and it doesn't allow a smaller number.

              Currently I'm replacing dxTreeLists with cxTreeLists in my projects. I use the StateImages to display an icon (16x16) at each node. Now the distance between the nodes is to large to fit the entire treelist on the screen.

          0

          Sorry, this behavior was implemented intentionally. The height of a node depends on the value of the Font.Size property. Decreasing this value results in the node's height decreasing.

          0

          Hi,

          I attached a sample project (with screenshots) which demonstates our problem. The nodes of the dxTreeList fit to the screen and display just fine with DefaultRowHeight 16. With the cxTreeList this results in a more stretched list with a scrollbar (DefaultRowHeight 18). I can't see why the RowHeight should not be allow to lowered to 16.

          Reducing the font size is not an option in our case.
          I also tried encreasing the font size to 14. The result is in the 2nd screenshot: the defaultrowheigt is not changed.

          cxTreeListDefaultRowHeight.zip
          You must  log in  or  register  to leave an answer