The VariableToolTip is supposed to resize vertically as much as can fit
in the window whenever the content changes. It was not working because
the m_itemHeight was 0 which was because the QTreeView::indexRowSizeHint
was called with index from m_model instead of m_proxy.
Same for the initial selection below.