Review Request: Fix text centering in task manager task items

Alec Moskvin alecm_88 at
Fri Jul 10 03:22:50 CEST 2009

This is an automatically generated e-mail. To reply, visit:

(Updated 2009-07-09 18:22:50.411018)

Review request for Plasma.


This patch properly aligns text to the drawable rectangle, thus preventing any part of the text from being cut off if there is still space available.

It removes two things:

- Code that sets the text at (0, 0) if the "text" is larger than the rectangle (which is not correct since there is additional interline spacing added to top and bottom which need not be shown)

- The part where it for some strange reason lowers all the text by the difference between the height of the 'M' and the 'x', thus pushing it out of the drawable area.

This addresses bug 178776.


  /trunk/KDE/kdebase/workspace/plasma/applets/tasks/. 994059 



Compiled it on my machine - it works well with task manager of any size.

Screenshots (updated)



More information about the Plasma-devel mailing list