elm: Remove range "span_size" API in EO
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 20 Sep 2017 02:16:17 +0000 (11:16 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 21 Sep 2017 03:27:34 +0000 (12:27 +0900)
commit112edeeea807a5dc499d003729c4a8cad829c5a6
tree1d37de5673d3ba7d7670036b02101dd41eb112e0
parent28b387821df6f017352b5062cd78f490c0963b9b
elm: Remove range "span_size" API in EO

Reasons:
 - This API has been confused with the min size of the widget, resulting
   in badly laid out applications.
 - The EO API was not very nice (Range is about numbers, the Gfx size
   hint in a part is really ugly).

While I understand the value of this API and how it can be used in
scalable applications, it is in fact not absolutely necessary.
Alternatively to that span size, the widget min size can already be
defined from the application side, or the widget can simply be expanded
to fill in its parent.

This can obviously be reinstated later if the need arises for EO. For
now, keep this feature as legacy-only.
13 files changed:
src/Makefile_Elementary.am
src/bin/elementary/test_slider_interval.c
src/examples/elementary/slider_cxx_example.cc
src/lib/efl/interfaces/efl_ui_range.eo
src/lib/elementary/efl_ui_layout.c
src/lib/elementary/efl_ui_progressbar.c
src/lib/elementary/efl_ui_progressbar.eo
src/lib/elementary/efl_ui_progressbar_part.eo
src/lib/elementary/efl_ui_progressbar_private.h
src/lib/elementary/efl_ui_slider.c
src/lib/elementary/efl_ui_slider.eo
src/lib/elementary/efl_ui_slider_part.eo [deleted file]
src/lib/elementary/efl_ui_slider_private.h