ellipsized

fun ellipsized(style: StyleSheet, text: String, width: Double): String(source)

text cut at its end, with an ellipsis, so that it fits in width, as a single line in the face of style