diff --git a/gb.qt4/share/gb.form.arrangement.h b/gb.qt4/share/gb.form.arrangement.h index 399f16f7e..22028a0ab 100644 --- a/gb.qt4/share/gb.form.arrangement.h +++ b/gb.qt4/share/gb.form.arrangement.h @@ -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)