mono-examples: Adapt to changes in Efl.Pack
This commit is contained in:
parent
595be4aa12
commit
b2c41e4e01
|
@ -62,7 +62,7 @@ _ui_boxes_setup(Efl_Ui_Win *win)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
box = efl_add(EFL_UI_BOX_CLASS, win,
|
box = efl_add(EFL_UI_BOX_CLASS, win,
|
||||||
efl_pack_padding_set(efl_added, 5, 0, EINA_TRUE));
|
efl_gfx_arrangement_content_padding_set(efl_added, 5, 0, EINA_TRUE));
|
||||||
|
|
||||||
for (i = 1; i <= 4; i++)
|
for (i = 1; i <= 4; i++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,7 +14,7 @@ public class Example : Efl.Csharp.Application
|
||||||
{
|
{
|
||||||
Efl.Ui.Box box = new Efl.Ui.Box(win);
|
Efl.Ui.Box box = new Efl.Ui.Box(win);
|
||||||
// Set distance between contained elements
|
// Set distance between contained elements
|
||||||
box.SetPackPadding(5, 0, true);
|
box.SetContentPadding(5, 0, true);
|
||||||
|
|
||||||
for (int i = 1; i <= 4; ++i)
|
for (int i = 1; i <= 4; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue