<table><tr><td style="">amhndu retitled this revision from "Make sublime tool bar buttons shrinkable and elide text" to "Sublime: Fix window growing larger by making toolbar buttons shrinkable".<br />amhndu edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-3rcro5gniuzpdxk/">(Show Details)</a>
</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/D15450">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Change the size policy of IdealToolButton to preferred instead of the<br />
default to allow being shrinked by any layout.<br />
Instead of simply truncating text, elide text while painting.<br />
<br />
</span>Items will be shrinked in the IdealButtonBarLayout, instead of<br />
overflowing <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">or try</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">and forc</span>ing t<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">o use a new line</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">he window larger</span>.<div style="padding: 8px 0;">...</div>Consequently, the window will no longer grow when changing from Debug to Code.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Previously the layout attached to IdealButtonBarWidget was being used to add<br />
buttons, which for the bottom bar meant a super-layout while the</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">IdealToolButtons: Instead of simply truncating text, they will elide text while painting.<br />
<br />
IdealButtonBarWidget: Previously the layout attached to the object was being used to add</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">IdealB</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">b</span>utton<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">BarLayout added to this super-layout was being ignored.<br />
<br />
Left Bar: https://i.imgur.com/ozslwvB.png</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">s, which for the bottom bar meant a super-layout while the</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Bottom Bar: https://i.imgur.com/DtmVE9R.png</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">IdealButtonBarLayout added to this super-layout was being ignored, introduced a new</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">https://i.imgur.com/RpujIxM.png</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">member to use a the proper layout for all orientations.</span><br />
<br />
<br />
BUG: 384711</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>buttonbar-shrink</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15450">https://phabricator.kde.org/D15450</a></div></div><br /><div><strong>To: </strong>amhndu, KDevelop, kossebau<br /><strong>Cc: </strong>kossebau, kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>