TextLabel sets vertical line alignment to MIDDLE for C# NUI 67/163867/1
authoradam.b <adam.b@samsung.com>
Wed, 13 Dec 2017 18:30:22 +0000 (18:30 +0000)
committeradam.b <adam.b@samsung.com>
Wed, 13 Dec 2017 18:30:22 +0000 (18:30 +0000)
Change-Id: I68f95de42b6184173263339726016b9c6ae05d9e

dali-csharp-binder/src/dali_wrap.cpp

index b305df3..bc3e050 100755 (executable)
@@ -466,7 +466,8 @@ void SWIG_CSharpException(int code, const char *msg) {
 
 #include <dali-toolkit/public-api/controls/scrollable/item-view/item-view-declarations.h>
 
-
+#include <dali-toolkit/devel-api/controls/text-controls/text-label-devel.h>
+#include <dali-toolkit/devel-api/text/text-enumerations-devel.h>
 
 // add here SWIG version check
 
@@ -84156,6 +84157,9 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextLabel_New__SWIG_0() {
   {
     try {
       result = Dali::Toolkit::TextLabel::New();
+
+      // default behaviour of NUI TextLabel
+      result.SetProperty( Dali::Toolkit::DevelTextLabel::Property::VERTICAL_LINE_ALIGNMENT, Dali::Toolkit::DevelText::VerticalLineAlignment::MIDDLE );
     } catch (std::out_of_range& e) {
       {
         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
@@ -84194,6 +84198,9 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextLabel_New__SWIG_1(char * jarg1) {
   {
     try {
       result = Dali::Toolkit::TextLabel::New((std::string const &)*arg1);
+
+      // default behaviour of NUI TextLabel
+      result.SetProperty( Dali::Toolkit::DevelTextLabel::Property::VERTICAL_LINE_ALIGNMENT, Dali::Toolkit::DevelText::VerticalLineAlignment::MIDDLE );
     } catch (std::out_of_range& e) {
       {
         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;