forked from enlightenment/enlightenment
tasks - apply min size to icon only mode too
This commit is contained in:
parent
ead3991e3f
commit
cbca5fa3f3
|
@ -424,16 +424,13 @@ _tasks_refill(Tasks *tasks)
|
||||||
edje_object_size_min_restricted_calc(item->o_item, &w, &h, 0, th);
|
edje_object_size_min_restricted_calc(item->o_item, &w, &h, 0, th);
|
||||||
else
|
else
|
||||||
edje_object_size_min_restricted_calc(item->o_item, &w, &h, tw, 0);
|
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;
|
||||||
{
|
}
|
||||||
if (w < tasks->config->minw) w = tasks->config->minw;
|
else
|
||||||
}
|
{
|
||||||
else
|
if (h < tasks->config->minh) h = tasks->config->minh;
|
||||||
{
|
|
||||||
if (h < tasks->config->minh) h = tasks->config->minh;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (!tasks->gcc->resizable)
|
if (!tasks->gcc->resizable)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue