actor: Add a custom scriptable "margin" property
authorBastian Winkler <buz@netbuz.org>
Sat, 19 May 2012 12:37:08 +0000 (14:37 +0200)
committerBastian Winkler <buz@netbuz.org>
Mon, 21 May 2012 13:31:34 +0000 (15:31 +0200)
commitaeea9ee7785df7c07ef1af4f32f47dcd2e4cb22c
tree57671b366283d655e283aaf5a1730e0350dfe1bf
parenta2d40fcf8c2b839fc8a202442232a7398513a66a
actor: Add a custom scriptable "margin" property

The property uses an array with the following CSS style syntax

 [ top, right, bottom, left ] or
 [ top, left/right, bottom ] or
 [ top/bottom, left/right ] or
 [ top/right/bottom/left ]

https://bugzilla.gnome.org/show_bug.cgi?id=676367
clutter/clutter-actor.c
tests/conform/script-parser.c
tests/conform/test-conform-main.c
tests/data/Makefile.am
tests/data/test-script-margin.json [new file with mode: 0644]