SmartClient Version: v9.1p_2016-04-15/Pro Development Only (built 2016-04-15)
All browsers
We would like to clip the value of the static text item when it overflows. We set the clipValue property to true but it still overflows. However, there is no width set on the static text item so it does not clip. How do we accomplish clipping the value of the static text item like when the regular text item value overflows? Is it a good approach to explicitly provide width: "100%" on the static text item to make it clip properly?
All browsers
We would like to clip the value of the static text item when it overflows. We set the clipValue property to true but it still overflows. However, there is no width set on the static text item so it does not clip. How do we accomplish clipping the value of the static text item like when the regular text item value overflows? Is it a good approach to explicitly provide width: "100%" on the static text item to make it clip properly?
Code:
isc.DynamicForm.create({ backgroundColor: "green", width: 400, fields: [ { // width: "100%", name: "textItem", type: "staticText", clipValue: true, wrap: false, showTitle: false, value: "Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics Isomorphics" } ] });
Comment