diff --git a/common.pri b/common.pri index 0b67fcc..2b2be32 100644 --- a/common.pri +++ b/common.pri @@ -62,7 +62,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 4 -LIMEREPORT_VERSION_RELEASE = 56 +LIMEREPORT_VERSION_RELEASE = 57 LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"' DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\" diff --git a/limereport/lrbasedesignintf.cpp b/limereport/lrbasedesignintf.cpp index 491f431..bab44fa 100644 --- a/limereport/lrbasedesignintf.cpp +++ b/limereport/lrbasedesignintf.cpp @@ -628,10 +628,10 @@ QPointF BaseDesignIntf::modifyPosForAlignedItem(const QPointF& pos){ result.setX(leftBorder); break; case RightItemAlign: - result.setX(parent->width()-rightBorder); + result.setX(parent->width() - (rightBorder + width())); break; case CenterItemAlign: - result.setX((avaibleSpace-width())/2); + result.setX((avaibleSpace-width()) / 2 + leftBorder); break; case ParentWidthItemAlign: result.setX(leftBorder); diff --git a/translations/limereport_ru.qm b/translations/limereport_ru.qm index f21886b..6db7938 100644 Binary files a/translations/limereport_ru.qm and b/translations/limereport_ru.qm differ diff --git a/translations/limereport_ru.ts b/translations/limereport_ru.ts index e9ceaa4..d706b5f 100644 --- a/translations/limereport_ru.ts +++ b/translations/limereport_ru.ts @@ -789,7 +789,7 @@ p, li { white-space: pre-wrap; } LeftToRight - С лева на право + Слева на право RightToLeft @@ -801,11 +801,11 @@ p, li { white-space: pre-wrap; } LeftItemAlign - С лева + Слева RightItemAlign - С права + Справа CenterItemAlign @@ -817,7 +817,7 @@ p, li { white-space: pre-wrap; } DesignedItemAlign - Заданный положение + Заданное положение HorizontalLine