Hi,
I would greatly appreciate it if someone could assist me with the following issue:
I am trying to create a message component that will serve other teams in my organization. This message is composed of an icon and textual description, one on side of the other. Therefore I’m thinking of using a HLayout that contains two elements:
- A canvas that contains an Icon
- A Label that will display the description
The message components should be dynamic in height. Meaning, the longer the description the larger the height is. Width is fixed to some constant pixel size. Of course, I would need a maximum and minimum height defined.
Is there someway of knowing the actual height a component will consume before it is really rendered (I mean through SmartGWT APIs)? since if I’m not mistaken, the layout components I am using require explicit height in pixels or percents (they cannot be configured to have their size determined by their content).
Should I be tackling the issue some other way?
Thanks in advance,
NaT