aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/elementary')
-rw-r--r--legacy/elementary/src/bin/test_box.c2
-rw-r--r--legacy/elementary/src/bin/test_table.c2
-rw-r--r--legacy/elementary/src/lib/elm_grid.c14
-rw-r--r--legacy/elementary/src/lib/elm_widget.c2
4 files changed, 11 insertions, 9 deletions
diff --git a/legacy/elementary/src/bin/test_box.c b/legacy/elementary/src/bin/test_box.c
index 8bb7e62eea..b0672497b6 100644
--- a/legacy/elementary/src/bin/test_box.c
+++ b/legacy/elementary/src/bin/test_box.c
@@ -23,6 +23,8 @@ test_box_vert(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(bx);
+ elm_box_padding_set(bx, 1000, 1000);
+
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
elm_icon_file_set(ic, buf, NULL);
diff --git a/legacy/elementary/src/bin/test_table.c b/legacy/elementary/src/bin/test_table.c
index 6f89a110b3..81e9227c54 100644
--- a/legacy/elementary/src/bin/test_table.c
+++ b/legacy/elementary/src/bin/test_table.c
@@ -138,7 +138,7 @@ my_tb_ch(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
Evas_Object *win = data;
Evas_Object *tb = evas_object_data_get(win, "tb");
Evas_Object *b2 = evas_object_data_get(win, "b2");
-
+
elm_table_unpack(tb, b2);
elm_table_pack(tb, b2, 1, 0, 1, 2);
}
diff --git a/legacy/elementary/src/lib/elm_grid.c b/legacy/elementary/src/lib/elm_grid.c
index 4e0cae6c8a..c574a5a93a 100644
--- a/legacy/elementary/src/lib/elm_grid.c
+++ b/legacy/elementary/src/lib/elm_grid.c
@@ -41,10 +41,10 @@ _elm_grid_focus_next_hook(const Evas_Object *obj, Elm_Focus_Direction dir, Evas_
const Eina_List *items;
void *(*list_data_get) (const Eina_List *list);
Eina_List *(*list_free) (Eina_List *list);
-
+
if ((!wd) || (!wd->grd))
return EINA_FALSE;
-
+
/* Focus chain */
/* TODO: Change this to use other chain */
if ((items = elm_widget_focus_custom_chain_get(obj)))
@@ -57,16 +57,16 @@ _elm_grid_focus_next_hook(const Evas_Object *obj, Elm_Focus_Direction dir, Evas_
items = evas_object_grid_children_get(wd->grd);
list_data_get = eina_list_data_get;
list_free = eina_list_free;
-
+
if (!items) return EINA_FALSE;
}
-
+
Eina_Bool ret = elm_widget_focus_list_next_get(obj, items, list_data_get,
dir, next);
-
+
if (list_free)
list_free((Eina_List *)items);
-
+
return ret;
}
@@ -115,7 +115,7 @@ elm_grid_add(Evas_Object *parent)
wd->grd = evas_object_grid_add(e);
evas_object_grid_size_set(wd->grd, 100, 100);
elm_widget_resize_object_set(obj, wd->grd);
-
+
_mirrored_set(obj, elm_widget_mirrored_get(obj));
return obj;
}
diff --git a/legacy/elementary/src/lib/elm_widget.c b/legacy/elementary/src/lib/elm_widget.c
index 2f87d52f28..62aee879ac 100644
--- a/legacy/elementary/src/lib/elm_widget.c
+++ b/legacy/elementary/src/lib/elm_widget.c
@@ -2877,7 +2877,7 @@ _smart_hide(Evas_Object *obj)
Eina_List *list;
Evas_Object *o;
INTERNAL_ENTRY
-
+
list = evas_object_smart_members_get(obj);
EINA_LIST_FREE(list, o)
{