ppalaga created this revision.
ppalaga set the repository for this revision to R119 Plasma Desktop.
ppalaga added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  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.

TEST PLAN
  1. Place the task bar vertically
  2. Adjust the task bar width e.g. so that the tray icons appear in rows of 
three
  3. Open some windows a Dolphin window so that there is at least one task open 
in the task bar
  
  Before: The task buttons show only icons that stretch through the most of the 
button width. There is no text in the task button
  
  After:
  
  1. 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
  2. The task buttons are showing a bit smaller icons and there is some text 
shown there too.

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D4550

AFFECTED FILES
  applets/taskmanager/package/contents/code/layout.js
  applets/taskmanager/package/contents/config/main.xml
  applets/taskmanager/package/contents/ui/ConfigGeneral.qml
  applets/taskmanager/package/contents/ui/Task.qml

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: ppalaga
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol

Reply via email to