* BUG: Fix horizontal inverted arrangement.


git-svn-id: svn://localhost/gambas/trunk@7104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2015-05-29 11:46:13 +00:00
parent a6cd2a6505
commit 5636005977

View File

@ -205,7 +205,6 @@ void FUNCTION_NAME(void *_object) //(QFrame *cont)
invert = arr->invert;
rtl = IS_RIGHT_TO_LEFT();
rtlm = rtl ? -1 : 1;
swap = (arr->mode & 1) == 0; // means "vertical"
if (!swap && invert)
@ -214,6 +213,8 @@ void FUNCTION_NAME(void *_object) //(QFrame *cont)
invert = false;
}
rtlm = rtl ? -1 : 1;
autoresize = arr->autoresize; // && !IS_EXPAND(_object);
if (arr->margin)