screens: slight UI improvement to scm commit popup.

This commit is contained in:
Al Poole 2017-09-11 17:33:20 +01:00
parent 4b12a5a1ae
commit 86731ea849
1 changed files with 10 additions and 0 deletions

View File

@ -106,6 +106,11 @@ edi_scm_screens_commit(Evas_Object *parent)
elm_box_horizontal_set(box, EINA_FALSE);
elm_object_content_set(popup, box);
sep = elm_separator_add(box);
elm_separator_horizontal_set(sep, EINA_TRUE);
evas_object_show(sep);
elm_box_pack_end(box, sep);
hbox = elm_box_add(popup);
elm_box_horizontal_set(hbox, EINA_TRUE);
evas_object_size_hint_weight_set(hbox, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@ -252,6 +257,11 @@ edi_scm_screens_commit(Evas_Object *parent)
free(markup);
free(diff);
sep = elm_separator_add(box);
elm_separator_horizontal_set(sep, EINA_TRUE);
evas_object_show(sep);
elm_box_pack_end(box, sep);
button = elm_button_add(popup);
elm_object_text_set(button, "Cancel");
elm_object_part_content_set(popup, "button1", button);