* @brief Hides the input characters and instead shows a default character for password or pin entry.
* @details name "hiddenInputSettings", type map.
* @note Optional.
+ * This property is currently being used for some applications, so it can't be changed.
* @see HiddenInput
*/
HIDDEN_INPUT_SETTINGS = INPUT_OUTLINE + 1,
* @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