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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user