ephoto: make it work again

It turns out that there is some madness when setting a aspect on a
elm.label. This should at first fix this, but its far from a good
solution.

ref T5888
This commit is contained in:
Marcel Hollerbach 2017-08-20 09:30:13 +02:00
parent b76a54bd3e
commit 47fe2b9ab0
1 changed files with 3 additions and 0 deletions

View File

@ -514,8 +514,11 @@ ephoto_window_add(const char *path)
elm_object_text_set(ephoto->infolabel, _("Information")); elm_object_text_set(ephoto->infolabel, _("Information"));
EPHOTO_EXPAND(ephoto->infolabel); EPHOTO_EXPAND(ephoto->infolabel);
EPHOTO_FILL(ephoto->infolabel); EPHOTO_FILL(ephoto->infolabel);
/*
PLEASE SEE https://phab.enlightenment.org/T5888
evas_object_size_hint_aspect_set(ephoto->infolabel, EVAS_ASPECT_CONTROL_HORIZONTAL, evas_object_size_hint_aspect_set(ephoto->infolabel, EVAS_ASPECT_CONTROL_HORIZONTAL,
1, 1); 1, 1);
*/
elm_box_pack_end(ephoto->statusbar, ephoto->infolabel); elm_box_pack_end(ephoto->statusbar, ephoto->infolabel);
evas_object_show(ephoto->infolabel); evas_object_show(ephoto->infolabel);