D14879: Fix VariableToolTip auto resizing.

Michal Srb noreply at phabricator.kde.org
Thu Aug 16 15:19:38 BST 2018


michalsrb created this revision.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
michalsrb requested review of this revision.

REVISION SUMMARY
  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.

TEST PLAN
  Debug some program, stop execution and hover over some variable. Expand
  some subitems - the tooltip should be resizing.

REPOSITORY
  R32 KDevelop

BRANCH
  fix-variabletooltip-expansion (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D14879

AFFECTED FILES
  kdevplatform/debugger/variable/variabletooltip.cpp

To: michalsrb
Cc: kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180816/25b3e253/attachment-0001.html>


More information about the KDevelop-devel mailing list