summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/efl/interfaces/efl_text_format.eo2
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/efl/interfaces/efl_text_format.eo b/src/lib/efl/interfaces/efl_text_format.eo
index 03a44295a5..96b724c84b 100644
--- a/src/lib/efl/interfaces/efl_text_format.eo
+++ b/src/lib/efl/interfaces/efl_text_format.eo
@@ -13,7 +13,7 @@ enum @beta Efl.Text_Format_Horizontal_Alignment_Auto_Type {
13 none, [[No auto-alignment rule: Horizontal Alignment is decided by @Efl.Text_Format.text_horizontal_align]] 13 none, [[No auto-alignment rule: Horizontal Alignment is decided by @Efl.Text_Format.text_horizontal_align]]
14 auto, [[Respects LTR/RTL (bidirectional) characters found inside the text content.]] 14 auto, [[Respects LTR/RTL (bidirectional) characters found inside the text content.]]
15 locale, [[Respects the system's language settings.]] 15 locale, [[Respects the system's language settings.]]
16 end [[Text is placed at opposite side of LTR/RTL (bidirectional) settings.]] 16 opposite [[Text is placed at opposite side of LTR/RTL (bidirectional) settings.]]
17} 17}
18 18
19interface @beta Efl.Text_Format { 19interface @beta Efl.Text_Format {
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 93c7a4b5d5..edef5e88f1 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -16781,7 +16781,7 @@ _efl_canvas_textblock_efl_text_format_text_horizontal_align_auto_type_set(Eo *ob
16781 { 16781 {
16782 _FMT_SET(halign_auto, EVAS_TEXTBLOCK_ALIGN_AUTO_LOCALE); 16782 _FMT_SET(halign_auto, EVAS_TEXTBLOCK_ALIGN_AUTO_LOCALE);
16783 } 16783 }
16784 else if (type == EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_END) 16784 else if (type == EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_OPPOSITE)
16785 { 16785 {
16786 _FMT_SET(halign_auto, EVAS_TEXTBLOCK_ALIGN_AUTO_END); 16786 _FMT_SET(halign_auto, EVAS_TEXTBLOCK_ALIGN_AUTO_END);
16787 } 16787 }
@@ -16799,7 +16799,7 @@ _efl_canvas_textblock_efl_text_format_text_horizontal_align_auto_type_get(const
16799 } 16799 }
16800 else if (_FMT(halign_auto) == EVAS_TEXTBLOCK_ALIGN_AUTO_END) 16800 else if (_FMT(halign_auto) == EVAS_TEXTBLOCK_ALIGN_AUTO_END)
16801 { 16801 {
16802 ret = EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_END; 16802 ret = EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_OPPOSITE;
16803 } 16803 }
16804 else if (_FMT(halign_auto) == EVAS_TEXTBLOCK_ALIGN_AUTO_LOCALE) 16804 else if (_FMT(halign_auto) == EVAS_TEXTBLOCK_ALIGN_AUTO_LOCALE)
16805 { 16805 {