Mercurial > hg > easyhg
diff src/changesetitem.cpp @ 401:c3276f8998ee
Ensure scene rect resizes to accommodate detail items
author | Chris Cannam |
---|---|
date | Wed, 25 May 2011 15:38:48 +0100 |
parents | 1e73b5911631 |
children | 75003687f364 |
line wrap: on
line diff
--- a/src/changesetitem.cpp Wed May 25 14:59:09 2011 +0100 +++ b/src/changesetitem.cpp Wed May 25 15:38:48 2011 +0100 @@ -78,6 +78,7 @@ // y() + 60); m_detail->moveBy(x() + (w + 50) / 2 + 10 + 0.5, y() - (m_detail->boundingRect().height() - h) / 2 + 0.5); + m_detail->ensureVisible(); emit detailShown(); }