<table><tr><td style="">loh.tar updated this revision to Diff 48781.<br />loh.tar added a comment.
</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/D17730">View Revision</a></tr></table><br /><div><div><p>Allow StatusBarButton to shrink</p>
<p>Ah! Strange! :-/ But somehow the more usual behavior, these "crunching" is unlikely. Couldn't find a hint where it is done in Kate, but after some digging around I have some solution which seems to work. These pics are from KWrite, the only not shrinking stuff is the last plain QLabel with the word count.<br />
<a href="https://phabricator.kde.org/F6529406" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F6529406: pic.png</a><br />
I had didn't touch it in the past because I was thinking it may better to add these text to the line column label (now button), but that need some more thought how to do it.</p>
<p>Let me know how to progress further, and if that test now pass.</p></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D17730?vs=48395&id=48781">https://phabricator.kde.org/D17730?vs=48395&id=48781</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17730">https://phabricator.kde.org/D17730</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/view/katestatusbar.cpp<br />
src/view/katestatusbar.h</div></div></div><br /><div><strong>To: </strong>loh.tar, KTextEditor, cullmann<br /><strong>Cc: </strong>dhaumann, zetazeta, cullmann, kwrite-devel, kde-frameworks-devel, KTextEditor, hase, michaelh, ngraham, bruns, demsking, sars<br /></div>