From 563600597734db299b02431aca34d2ab829eb3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 29 May 2015 11:46:13 +0000 Subject: [PATCH] [GB.QT4] * BUG: Fix horizontal inverted arrangement. git-svn-id: svn://localhost/gambas/trunk@7104 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.qt4/share/gb.form.arrangement.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)