forked from enlightenment/efl
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:
parent
31d197b85b
commit
0dad9503c7
|
@ -244,9 +244,10 @@ interface Efl.Gfx.Hint
|
||||||
boundaries of a container/manager. Accepted values are in
|
boundaries of a container/manager. Accepted values are in
|
||||||
the 0.0 to 1.0 range.
|
the 0.0 to 1.0 range.
|
||||||
|
|
||||||
For the horizontal component, 0.0 means to the left, 1.0
|
For the horizontal component, 0.0 means the start of the axis
|
||||||
means to the right. Analogously, for the vertical component,
|
in the direction that the current language reads, 1.0 means the end of the axis.
|
||||||
0.0 to the top, 1.0 means to the bottom.
|
|
||||||
|
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
|
This is not a size enforcement in any way, it's just a hint
|
||||||
that should be used whenever appropriate.
|
that should be used whenever appropriate.
|
||||||
|
@ -257,8 +258,8 @@ interface Efl.Gfx.Hint
|
||||||
@image html alignment-hints.png
|
@image html alignment-hints.png
|
||||||
*/
|
*/
|
||||||
values {
|
values {
|
||||||
x: 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.]]
|
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 {
|
@property hint_fill {
|
||||||
|
|
Loading…
Reference in New Issue