summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-20 11:16:17 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-21 12:27:34 +0900
commit112edeeea807a5dc499d003729c4a8cad829c5a6 (patch)
tree1d37de5673d3ba7d7670036b02101dd41eb112e0 /src/lib/efl
parent28b387821df6f017352b5062cd78f490c0963b9b (diff)
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.
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_ui_range.eo21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_range.eo b/src/lib/efl/interfaces/efl_ui_range.eo
index c2f338e4f1..6b9edd8a17 100644
--- a/src/lib/efl/interfaces/efl_ui_range.eo
+++ b/src/lib/efl/interfaces/efl_ui_range.eo
@@ -2,27 +2,6 @@ interface Efl.Ui.Range
2{ 2{
3 [[Efl UI progress interface]] 3 [[Efl UI progress interface]]
4 methods { 4 methods {
5 @property span_size {
6 [[Control the (exact) length of the bar region of a given range widget
7
8 This sets the minimum width (when in horizontal mode) or height
9 (when in vertical mode) of the actual bar area of the range
10 bar $obj. This in turn affects the object's minimum size. Use
11 this when you're not setting other size hints expanding on the
12 given direction (like weight and alignment hints) and you would
13 like it to have a specific size.
14
15 Note: Icon, label and unit text around $obj will require their
16 own space, which will make $obj to require more the $size,
17 actually.]]
18 set {
19 }
20 get {
21 }
22 values {
23 size: int; [[The length of the range's bar region]]
24 }
25 }
26 @property range_value { 5 @property range_value {
27 [[Control the range value (in percentage) on a given range widget 6 [[Control the range value (in percentage) on a given range widget
28 7