cpu gadget: fix orientation of the box

still need to fix the aspect ratio
This commit is contained in:
Davide Andreoli 2017-01-08 20:33:29 +01:00
parent ea9dbba34d
commit 0978fa9eb6
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ _cpumonitor_created_cb(void *data, Evas_Object *obj, void *event_data EINA_UNUSE
Instance *inst = data;
inst->cfg->cpumonitor.o_gadget = elm_box_add(inst->o_main);
elm_box_horizontal_set(inst->cfg->cpumonitor.o_gadget, EINA_TRUE);
E_EXPAND(inst->cfg->cpumonitor.o_gadget);
E_FILL(inst->cfg->cpumonitor.o_gadget);
elm_box_pack_end(inst->o_main, inst->cfg->cpumonitor.o_gadget);