From 0dad9503c7d279012c991b91da964c706874ce9a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 12 Sep 2019 10:55:15 +0200 Subject: [PATCH] efl/hint: fix hint_align docs Summary: the docs should not assume that the current language is LTR and should instead specify that the horizontal direction depends on the language reading direction Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9911 --- src/lib/efl/interfaces/efl_gfx_hint.eo | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/lib/efl/interfaces/efl_gfx_hint.eo b/src/lib/efl/interfaces/efl_gfx_hint.eo index d00c83e246..14ff815ebb 100644 --- a/src/lib/efl/interfaces/efl_gfx_hint.eo +++ b/src/lib/efl/interfaces/efl_gfx_hint.eo @@ -244,9 +244,10 @@ interface Efl.Gfx.Hint boundaries of a container/manager. Accepted values are in the 0.0 to 1.0 range. - For the horizontal component, 0.0 means to the left, 1.0 - means to the right. Analogously, for the vertical component, - 0.0 to the top, 1.0 means to the bottom. + For the horizontal component, 0.0 means the start of the axis + in the direction that the current language reads, 1.0 means the end of the axis. + + For the vertical component, 0.0 to the top, 1.0 means to the bottom. This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. @@ -257,8 +258,8 @@ interface Efl.Gfx.Hint @image html alignment-hints.png */ values { - x: double; [[Double, ranging from 0.0 to 1.0.]] - y: double; [[Double, ranging from 0.0 to 1.0.]] + x: double; [[Double, ranging from 0.0 to 1.0, where 0.0 is at the start of the horizontal axis and 1.0 is at the end.]] + y: double; [[Double, ranging from 0.0 to 1.0, where 0.0 is at the start of the vertical axis and 1.0 is at the end.]] } } @property hint_fill {