<table><tr><td style="">Pitel 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/D10944">View Revision</a></tr></table><br /><div><div><p>I understand you do not like adding options that you do not like adding options adjust think which should be configured on another level. But to be able to configure filling empty space at level of panel applets must not claim they need more space than they really do (and now taskmanager is doing exactly that). So possible solutions I see are:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Always limit taskmanager to needed space only (i.e. set <tt style="background: #ebebeb; font-size: 13px;">maximumWidth: preferredWidth</tt>): The best solution from technical point of view, lets you config filling empty space by adding expanding spacers into panel <strong>but</strong> it breaks existing setups which is highly undesirable as I understood from previous comments.</li>
<li class="remarkup-list-item">Add config option as proposed by this patch: It enables the desired behavior without breaking existing setups, but adds a bit non-systematic config option.</li>
<li class="remarkup-list-item">Do nothing: Taskmanager will keep eating all space and and some reasonable setups will be impossible to achieve.  <a href="https://phabricator.kde.org/F5735027" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F5735027: Screenshot_20180301_175311.png</a></li>
</ul>

<p>I believe the last option is the worst by far.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10944">https://phabricator.kde.org/D10944</a></div></div><br /><div><strong>To: </strong>Pitel, ngraham, mart<br /><strong>Cc: </strong>hein, mart, ngraham, plasma-devel, Plasma, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>