summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2020-06-16 20:40:59 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2020-06-16 20:40:59 +0900
commitd2291f55dc1b904a98d12611a466223949aa294f (patch)
treecbaf19aec89503f6de1a7524791e827490485846
parente53f07f44ff7f7a9454586e3448c1ca23e926a84 (diff)
downloadefl-d2291f55dc1b904a98d12611a466223949aa294f.tar.gz
evas_object_table: fix not to use hint_fill on elm_table
Summary: The hint_fill logic in evas_object_table was designed to be used for Efl.Ui.Table not for elm_table. Since Efl.Ui.Table does not use evas_object_table logic, hint_fill logic in evas_object_table is removed. Reviewers: YOhoho Reviewed By: YOhoho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11982
-rw-r--r--src/lib/evas/canvas/evas_object_table.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/evas/canvas/evas_object_table.c b/src/lib/evas/canvas/evas_object_table.c
index e07496adb1..9d261bcd84 100644
--- a/src/lib/evas/canvas/evas_object_table.c
+++ b/src/lib/evas/canvas/evas_object_table.c
@@ -328,7 +328,6 @@ _evas_object_table_calculate_hints_homogeneous(Evas_Object *o, Evas_Table_Data *
Evas_Object_Table_Option *opt;
Evas_Coord minw, minh, o_minw, o_minh;
Eina_Bool expand_h, expand_v;
- Eina_Bool fill_h, fill_v;
o_minw = 0;
o_minh = 0;
@@ -349,8 +348,6 @@ _evas_object_table_calculate_hints_homogeneous(Evas_Object *o, Evas_Table_Data *
(child, &opt->pad.l, &opt->pad.r, &opt->pad.t, &opt->pad.b);
evas_object_size_hint_align_get(child, &opt->align.h, &opt->align.v);
evas_object_size_hint_weight_get(child, &weightw, &weighth);
- //only for Efl.Ui.Table
- efl_gfx_hint_fill_get(child, &fill_h, &fill_v);
child_minw = opt->min.w + opt->pad.l + opt->pad.r;
child_minh = opt->min.h + opt->pad.t + opt->pad.b;
@@ -376,13 +373,13 @@ _evas_object_table_calculate_hints_homogeneous(Evas_Object *o, Evas_Table_Data *
expand_v = 1;
}
- opt->fill_h = fill_h;
+ opt->fill_h = 0;
if (opt->align.h < 0.0)
{
opt->align.h = 0.5;
opt->fill_h = 1;
}
- opt->fill_v = fill_v;
+ opt->fill_v = 0;
if (opt->align.v < 0.0)
{
opt->align.v = 0.5;