[Interest] QtQuick Controls TableView resizeColumnsToContents

Stéphane Fabry sf at xris.eu
Mon Sep 14 17:15:23 CEST 2015


Hi,

The documentations says : "Resizes all columns to ensure that the column 
contents and *the headers *will fit."

But it only takes care of the content. For example, if the table is 
empty the function does nothing.

How to resize the columns to take into account for the header size ?


Thanks


Stéphane

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150914/d53f1804/attachment.html>


More information about the Interest mailing list