diff --git a/es-core/src/components/TextComponent.h b/es-core/src/components/TextComponent.h index d1f2438b2..30070ffb4 100644 --- a/es-core/src/components/TextComponent.h +++ b/es-core/src/components/TextComponent.h @@ -65,6 +65,8 @@ public: unsigned int getColor() const override { return mColor; }; inline std::shared_ptr getFont() const override { return mFont; } + Alignment getHorizontalAlignment() { return mHorizontalAlignment; } + Alignment getVerticalAlignment() { return mVerticalAlignment; } protected: virtual void onTextChanged();