Important: Please read the Qt Code of Conduct -

QTableView and ResizeRows(Columns)ToContents

  • Hi.

    I get next trouble: I create QTableView and hide it, when data is read show it, and resize to content, but first data is not resize.
    In second data all right. If I don't use hide to QTableView - all work at once.

    In model I implemented SizeHintRole.

Log in to reply