forked from enlightenment/efl
48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
import efl_gfx_types;
|
|
interface Efl.Gfx.Arrangement
|
|
{
|
|
[[
|
|
This interface provides methods for manipulating how contents are arranged within a container,
|
|
providing more granularity for content positioning.
|
|
|
|
@since 1.23
|
|
]]
|
|
methods
|
|
{
|
|
@property content_align {
|
|
[[This property determines how contents will be aligned within a container if there is
|
|
unused space.
|
|
|
|
It is different than the @Efl.Gfx.Hint.hint_align property in that it affects the position
|
|
of all the contents within the container instead of the container itself.
|
|
For example, if a box widget has extra space on the horizontal axis,
|
|
this property can be used to align the box's contents to the left or the right side.
|
|
|
|
See also @Efl.Gfx.Hint.hint_align.
|
|
]]
|
|
set {}
|
|
get {}
|
|
values {
|
|
align_horiz: Efl.Gfx.Align(0.5); [[Controls the horizontal alignment.]]
|
|
align_vert: Efl.Gfx.Align(0.5); [[Controls the vertical alignment.]]
|
|
}
|
|
}
|
|
@property content_padding @beta {
|
|
[[This property determines the space between a container's content items.
|
|
|
|
It is different than the @Efl.Gfx.Hint.hint_margin property in that it is applied to each
|
|
content item within the container instead of a single item. The calculation for these two properties
|
|
is cumulative.
|
|
|
|
See also @Efl.Gfx.Hint.hint_margin.
|
|
]]
|
|
set {}
|
|
get {}
|
|
values {
|
|
pad_horiz: uint(0u); [[Horizontal padding.]]
|
|
pad_vert: uint(0u); [[Vertical padding.]]
|
|
}
|
|
}
|
|
}
|
|
}
|