Bug #5607
closed
constant actor icon won't automatically re-size since 2.3.
Added by jianwu jianwu over 12 years ago.
Updated over 12 years ago.
Description
For actor 'Constant' and 'String Constant', Kepler GUI used to automatically replace long text with its first a few characters followed by '...'. I validated it in Kepler 2.2. But since Kepler 2.3 (also in Kepler trunk), these two actors won't re-size anymore. All the text in their value parameter is displayed in GUI. It is very unfriendly when the text is very long.
I attached a demo workflow and its displays in Kepler 2.2 and 2.3.
Files
This bug might be related to bug 5587.
If the value of a Const actor is a long string, then the icon is not truncated.
This occurs in both Kepler and Vergil.
I've backed out a portion of this change:
2011-03-03 16:41 cshelton
- [r60470] /trunk/ptolemy/vergil/icon/AttributeValueIcon.java,
/trunk/ptolemy/vergil/icon/BoxedValueIcon.java: Modified
BoxedValueIcon to ignore the default displayWidth and
displayHeight parameters and render the full string value of the
attribute in its icon.
I've sent email to Charles asking for a use case that requires the icon
to not be truncated.
This should be left open until Charles and I reach a consensus about this.
Original Bugzilla ID was 5607
Also available in: Atom
PDF