* @code
* Property::Map propertyMap;
* propertyMap["placeholderText"] = "Setting Placeholder Text";
+ * propertyMap["placeholderTextFocused"] = "Setting Placeholder Text Focused";
* propertyMap["placeholderColor"] = Color::RED;
* propertyMap["placeholderFontFamily"] = "Arial";
* propertyMap["placeholderPointSize"] = 12.0f;
+ * propertyMap["placeholderEllipsis"] = true;
*
* Property::Map fontStyleMap;
- * fontstyleMap.Insert( "weight", "bold" );
- * fontstyleMap.Insert( "width", "condensed" );
- * fontstyleMap.Insert( "slant", "italic" );
+ * fontStyleMap.Insert( "weight", "bold" );
+ * fontStyleMap.Insert( "width", "condensed" );
+ * fontStyleMap.Insert( "slant", "italic" );
* propertyMap["placeholderFontStyle"] = fontStyleMap;
*
* field.SetProperty( DevelTextField::Property::PLACEHOLDER, propertyMap );
*
* @details name "placeholder", type MAP
*/
- PLACEHOLDER = INPUT_OUTLINE + 4
+ PLACEHOLDER = INPUT_OUTLINE + 4,
+
+ /**
+ * @brief Enable or disable the ellipsis.
+ * @details name "ellipsis", type Property::BOOLEAN.
+ * @note PLACEHOLDER map is used to add ellipsis to placeholder text.
+ */
+ ELLIPSIS = INPUT_OUTLINE + 5
};
} // namespace Property