summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-10-02 12:04:12 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-10-02 12:11:15 +0200
commitfa908800556d8e4be7ce8785e7b88123df89e0a5 (patch)
treee670516cca6f661e97d3684d04969bfd68c8cd67 /src/examples
parent7b4a58313b3ab6f8e5610e90c5a1153c7f27b1c5 (diff)
efl_gfx_arrangement: change content_padding param type and remove scalable
Summary: This change `content_padding` parameter type to int from double for consistency of size properties. `scalable` should be handled in more common size API. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> ref T7864 Test Plan: ninja test Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7864 Differential Revision: https://phab.enlightenment.org/D10154
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/elementary/table_cxx_example_01.cc2
-rw-r--r--src/examples/elementary/table_cxx_example_02.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/elementary/table_cxx_example_01.cc b/src/examples/elementary/table_cxx_example_01.cc
index 11e97b589f..f96bf8291b 100644
--- a/src/examples/elementary/table_cxx_example_01.cc
+++ b/src/examples/elementary/table_cxx_example_01.cc
@@ -15,7 +15,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
15 15
16 efl::ui::Table table(instantiate, win); 16 efl::ui::Table table(instantiate, win);
17 win.content_set(table); 17 win.content_set(table);
18 table.content_padding_set(5, 5, true); 18 table.content_padding_set(5, 5);
19// FIXME 19// FIXME
20// table.homogeneous_set(true); 20// table.homogeneous_set(true);
21 21
diff --git a/src/examples/elementary/table_cxx_example_02.cc b/src/examples/elementary/table_cxx_example_02.cc
index f0ca35e76d..0fe8cf0b6f 100644
--- a/src/examples/elementary/table_cxx_example_02.cc
+++ b/src/examples/elementary/table_cxx_example_02.cc
@@ -16,7 +16,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
16 16
17 efl::ui::Table table(instantiate, win); 17 efl::ui::Table table(instantiate, win);
18 win.content_set(table); 18 win.content_set(table);
19 table.content_padding_set(5, 5, true); 19 table.content_padding_set(5, 5);
20 20
21 efl::canvas::Rectangle rect(instantiate, win); 21 efl::canvas::Rectangle rect(instantiate, win);
22 rect.color_set(255, 0, 0, 255); 22 rect.color_set(255, 0, 0, 255);