back to ELLIPSIZE_END and multi-line task name. multi-line depend on task vertical_padding and size of font

git-svn-id: http://tint2.googlecode.com/svn/trunk@434 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-04-19 21:44:40 +00:00
parent af80193e89
commit a4c2956eca
3 changed files with 11 additions and 9 deletions

View File

@@ -142,7 +142,7 @@ void init_taskbar()
panel->g_task.maximum_width = server.monitor[panel->monitor].width;
panel->g_task.text_posx = panel->g_task.background[0]->border.width + panel->g_task.area.paddingxlr;
panel->g_task.text_posy = (panel->g_task.area.height - height) / 2.0;
panel->g_task.text_height = panel->g_task.area.height - (2 * panel->g_task.area.paddingy);
if (panel->g_task.icon) {
panel->g_task.icon_size1 = panel->g_task.area.height - (2 * panel->g_task.area.paddingy);
panel->g_task.text_posx += panel->g_task.icon_size1;