<table><tr><td style="">rjvbb created this revision.<br />rjvbb added a project: KDevelop.<br />Restricted Application added a subscriber: kdevelop-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6184" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>An old comment in the ProjectManagerView ctor mentions a horizontal scrollbar, something I cannot remember having seen in the KDevelop5 project manager, and that I've sorely missed.</p>
<p>This patch restores that feature, doing away with elided filename representation. The crucial change is setting <tt style="background: #ebebeb; font-size: 13px;">setStretchLastSection(false)</tt> and the addition of a resizeEvent filter that sets the header's minimum section size appropriately. This was copied from Qt Creator's navigator widget implementation.</p>
<p>The tooltip feature showing the full filename remains functional so I think (and hope) there is no need to provide a UI configuration option to allow users to select either the new or the old behaviour.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>tested on Mac and Linux</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6184" rel="noreferrer">https://phabricator.kde.org/D6184</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/projectmanagerview/projectmanagerview.cpp<br />
plugins/projectmanagerview/projectmanagerview.ui<br />
plugins/projectmanagerview/projectmodelitemdelegate.cpp<br />
plugins/projectmanagerview/projecttreeview.cpp<br />
plugins/projectmanagerview/projecttreeview.h</div></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop<br /><strong>Cc: </strong>kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>