jnk5y
1st June 2006, 22:21
Qt 4.0.1 Windows
treeWidgets resizeColumnToContents only resizes the column to the largest visible item. Any item that is not shown do to the tree being to long for the area (thus a scrollbar is shown) is not considered for it's size. So what happens is that if the items being shown are short and then someone scrolls to a longer name it is cut off.
Any idea how to fix this or reimplement resizeColumnToContents to fix this?
treeWidgets resizeColumnToContents only resizes the column to the largest visible item. Any item that is not shown do to the tree being to long for the area (thus a scrollbar is shown) is not considered for it's size. So what happens is that if the items being shown are short and then someone scrolls to a longer name it is cut off.
Any idea how to fix this or reimplement resizeColumnToContents to fix this?