[core] Fix default value for text-max-width

Fixes #4788
This commit is contained in:
John Firebaugh
2016-04-21 16:45:28 -07:00
parent d4c98cabf3
commit ab97e6012c

View File

@@ -30,7 +30,7 @@ public:
LayoutProperty<std::string> textField { "" };
LayoutProperty<std::string> textFont { "Open Sans Regular, Arial Unicode MS Regular" };
LayoutProperty<float> textSize { 16.0f };
LayoutProperty<float> textMaxWidth { 15.0f /* em */ };
LayoutProperty<float> textMaxWidth { 10.0f /* em */ };
LayoutProperty<float> textLineHeight { 1.2f /* em */ };
LayoutProperty<float> textLetterSpacing { 0.0f /* em */ };
LayoutProperty<TextJustifyType> textJustify { TextJustifyType::Center };