test_glview_simple: Add more description on glview creation failing

cases.

Check gl backend engine or run set environmental variable.
ex) ELM_ENGINE=gl elementary_test
This commit is contained in:
Daniel Juyung Seo 2014-01-10 13:19:40 +09:00
parent 97134378e1
commit 66194e773a
1 changed files with 6 additions and 2 deletions

View File

@ -266,8 +266,12 @@ test_glview_simple(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
else
{
lb = elm_label_add(bx);
elm_object_text_set(lb, "GL backend engine is not supported.");
evas_object_size_hint_weight_set(lb, EVAS_HINT_EXPAND, 0.0);
elm_object_text_set(lb, "<align=left> GL backend engine is not supported.<br/>"
" 1. Check your back-end engine or<br/>"
" 2. Run elementary_test with engine option or<br/>"
" ex) $ <b>ELM_ENGINE=gl</b> elementary_test<br/>"
" 3. Change your back-end engine from elementary_config.<br/></align>");
evas_object_size_hint_weight_set(lb, 0.0, 0.0);
evas_object_size_hint_align_set(lb, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_box_pack_end(bx, lb);
evas_object_show(lb);