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
This commit is contained in:
Mike Blumenkrantz 2019-09-12 10:55:15 +02:00 committed by Xavi Artigas
parent 31d197b85b
commit 0dad9503c7
1 changed files with 6 additions and 5 deletions

View File

@ -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 {