let you specify up/down as well as top/bottom for resizerelative action - backwards compat
This commit is contained in:
parent
6ed8bd929d
commit
27aec195ac
1 changed files with 4 additions and 2 deletions
|
@ -35,9 +35,11 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
|
||||||
o->left = parse_int(doc, n);
|
o->left = parse_int(doc, n);
|
||||||
if ((n = parse_find_node("right", node)))
|
if ((n = parse_find_node("right", node)))
|
||||||
o->right = parse_int(doc, n);
|
o->right = parse_int(doc, n);
|
||||||
if ((n = parse_find_node("top", node)))
|
if ((n = parse_find_node("top", node)) ||
|
||||||
|
(n = parse_find_node("up", node)))
|
||||||
o->top = parse_int(doc, n);
|
o->top = parse_int(doc, n);
|
||||||
if ((n = parse_find_node("bottom", node)))
|
if ((n = parse_find_node("bottom", node)) ||
|
||||||
|
(n = parse_find_node("down", node)))
|
||||||
o->bottom = parse_int(doc, n);
|
o->bottom = parse_int(doc, n);
|
||||||
|
|
||||||
return o;
|
return o;
|
||||||
|
|
Loading…
Reference in a new issue