[PATCH] Several rows in taskbar

Olivier Goffart ogoffart at kde.org
Sat Jan 19 10:19:52 CET 2008


Hi, 

The patch add the support for showing taskbar entry in several rows  (with all 
the animations ans stuff)
When there is too much task shown in the taskbar, it automatically take more 
rows.

The main modification is in Plasma::BoxLayout which i modified to be able to 
have severals row.

Why did i modify this layout and not creating a ne "GridLayout"?  Because the 
API stay the same, and the code is the same if row==1.

The way I calculate the number of row probably need some adjustement. Maybe a 
function  BoxLayout::setItemRatio(qreal) which would allow component to 
choose the better ratio for them.

Please CC me replies.
-- 
Gof
-------------- next part --------------
A non-text attachment was scrubbed...
Name: taskbar_rows.diff
Type: text/x-diff
Size: 9862 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080119/488a0404/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080119/488a0404/attachment.pgp 


More information about the Panel-devel mailing list