From 98203894dfdcc90a55c581c9b4849470f75aca64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sat, 29 Mar 2014 19:46:52 +0000 Subject: [PATCH] [GB.GTK] * BUG: Fix Align.IsBottom() and Align.IsMiddle(). [GB.QT4] * BUG: Fix Align.IsBottom() and Align.IsMiddle(). git-svn-id: svn://localhost/gambas/trunk@6210 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.qt4/share/gb.form.const.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gb.qt4/share/gb.form.const.h b/gb.qt4/share/gb.form.const.h index 0e97665ce..a0df9a932 100644 --- a/gb.qt4/share/gb.form.const.h +++ b/gb.qt4/share/gb.form.const.h @@ -43,9 +43,9 @@ enum ALIGN_JUSTIFY = 0x04, //Qt::AlignVCenter + Qt::AlignJustify }; -#define ALIGN_IS_TOP(_align) (((_align) & 0xF0) == 0x1) -#define ALIGN_IS_BOTTOM(_align) (((_align) & 0xF0) == 0x2) -#define ALIGN_IS_MIDDLE(_align) (((_align) & 0xF0) == 0x0) +#define ALIGN_IS_TOP(_align) (((_align) & 0xF0) == 0x10) +#define ALIGN_IS_BOTTOM(_align) (((_align) & 0xF0) == 0x20) +#define ALIGN_IS_MIDDLE(_align) (((_align) & 0xF0) == 0x00) #define ALIGN_IS_LEFT(_align) (((_align) & 0xF) == 0x1 || (((_align) & 0xF) == 0x0 && !GB.System.IsRightToLeft())) #define ALIGN_IS_RIGHT(_align) (((_align) & 0xF) == 0x2 || (((_align) & 0xF) == 0x0 && GB.System.IsRightToLeft())) #define ALIGN_IS_CENTER(_align) (((_align) & 0xF) == 0x3)