<table><tr><td style="">ppalaga created this revision.<br />ppalaga set the repository for this revision to R119 Plasma Desktop.<br />ppalaga added a project: Plasma.<br />Restricted Application added a subscriber: plasma-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/D4550" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This improves the rendering when the task manager is oriented vertically. Before this change the values for maximum text lines and minimum line length were hard coded to 3 and 5 respectivelly. With those settings the taskbar had to be made too wide so that the task buttons show both icon and text. With the present change, the values can be lowered via task bar configuration dialog so that text is shown also in narrower vertical task bars.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Place the task bar vertically</li>
<li class="remarkup-list-item">Adjust the task bar width e.g. so that the tray icons appear in rows of three</li>
<li class="remarkup-list-item">Open some windows a Dolphin window so that there is at least one task open in the task bar</li>
</ol>

<p>Before: The task buttons show only icons that stretch through the most of the button width. There is no text in the task button</p>

<p>After:</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">Task Manager contect menu > Task Manager Settings... > Lower the maximum text lines to e.g. 2 Lower the minimum line length to e.g. 1 Hit OK</li>
<li class="remarkup-list-item">The task buttons are showing a bit smaller icons and there is some text shown there too.</li>
</ol></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/D4550" rel="noreferrer">https://phabricator.kde.org/D4550</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/taskmanager/package/contents/code/layout.js<br />
applets/taskmanager/package/contents/config/main.xml<br />
applets/taskmanager/package/contents/ui/ConfigGeneral.qml<br />
applets/taskmanager/package/contents/ui/Task.qml</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>ppalaga<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>