diff --git a/common.pri b/common.pri index 2807fea..dc54195 100644 --- a/common.pri +++ b/common.pri @@ -70,7 +70,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 b4c0d5b..2088387 100644 --- a/limereport/lrbasedesignintf.cpp +++ b/limereport/lrbasedesignintf.cpp @@ -630,10 +630,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.ts b/translations/limereport_ru.ts index 35ad19f..214aba9 100644 --- a/translations/limereport_ru.ts +++ b/translations/limereport_ru.ts @@ -862,7 +862,7 @@ p, li { white-space: pre-wrap; } LeftToRight - С лева на право + Слева на право RightToLeft @@ -874,11 +874,11 @@ p, li { white-space: pre-wrap; } LeftItemAlign - С лева + Слева RightItemAlign - С права + Справа CenterItemAlign @@ -890,7 +890,7 @@ p, li { white-space: pre-wrap; } DesignedItemAlign - Заданный положение + Заданное положение HorizontalLine