Hi,
Is it possible to get functions to determine:
- if the text in a field is fully displayed?
- how wide a field needs to be to display a certain text?
Dunno if this is at all possible (in Java), but if it is, could we get these functions?
Paul
Hi,
Is it possible to get functions to determine:
Dunno if this is at all possible (in Java), but if it is, could we get these functions?
Paul
Is this just a ‘i wonder if this would work’ feature request or do you actually have serious business needs for this feature? Can you clarify with an example?
Well, offcourse I wonder if it is at all possible
But, to clarify the request: I have a row of buttons. The text on the buttons is I18N-ed. In English, for example, some phrases contain more letters then in Dutch. So, I would like to be able to determine the size needed to display the full text and resize the buttons accordingly.
The other thing: determining of a text is fully displayed would be handy in the following situation, allthough I think this is currently not possible:
it would be nice if you could make the tooltip set on an element only popup when the text of the element cannot be fully displayed. But this would involve putting some extra logic somewhere, as to when to behave in such a way.
Paul