Skip to content
This repository was archived by the owner on Mar 16, 2020. It is now read-only.

eyeplum/Qt-TreeView-Resizing-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Qt Tree View Column Resizing Experiments

Experimenting with resizeColumnsToContents for QtQuick and QtWidgets tree views.

Status

QtQuick.TreeView

Calling TreeView.resizeColumnsToContents(0) affects the layout of the column, but it doesn't seem to resize the colums to a width that is enough to dislay all the rows in of the column.

QtWidgets.QTreeView

Simply calling the method QTreeView.resizeColumnsToContents(0) achieves the expected results.

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published