Hi,
I am using ultra tree for displaying data. I want to reduce the cell height used for display.Is it possible to change the cell height independent of the font size used in the Node for displaying the data.
regards,
ravi.
Hello,
The following code sample demonstrates how to wrap cell text to a second line in the UltraTree control using the OutlookExpress ViewStyle:
treeControl.Override.ItemHeight = (treeControl.Font.Height * 2) + 1;treeControl.ColumnSettings.CellWrapText = DefaultableBoolean.True;
foreach( UltraTreeNodeColumn column in treeControl.Nodes[0].DataColumnSetResolved.Columns ){ column.LayoutInfo.PreferredCellSize = new Size(0, treeControl.Override.ItemHeight);}
I hope this help
Hi - I have a similar requirement to achieve with Ultratree.
I tried the code given above, But when I set the preferred size for a cell, it affects all the nodes in the ultratree. I think, this is because the property is set to columnset. Can't the same cell in different node have different heights when the Ultratree is rendered in OutlookExpress mode?
Krishna