tasks - apply min size to icon only mode too

enlightenment-0.24
Carsten Haitzler 3 years ago
parent ead3991e3f
commit cbca5fa3f3
  1. 15
      src/modules/tasks/e_mod_main.c

@ -424,16 +424,13 @@ _tasks_refill(Tasks *tasks)
edje_object_size_min_restricted_calc(item->o_item, &w, &h, 0, th);
else
edje_object_size_min_restricted_calc(item->o_item, &w, &h, tw, 0);
if (!tasks->config->icon_only)
if (tasks->horizontal)
{
if (tasks->horizontal)
{
if (w < tasks->config->minw) w = tasks->config->minw;
}
else
{
if (h < tasks->config->minh) h = tasks->config->minh;
}
if (w < tasks->config->minw) w = tasks->config->minw;
}
else
{
if (h < tasks->config->minh) h = tasks->config->minh;
}
if (!tasks->gcc->resizable)
{

Loading…
Cancel
Save