We have several StaticTextItems that we use for links by setting the items' styles to mimic the look of a link, including setting cursor:hand.
This works. However, the area to the right of the item's value is clickable and the cursor changes to a hand there as well.
Is there a way to automatically set the width of a StaticTextItem to the width of its value so that the user does not accidentally click white space and gets taken to a different page?
SmartGWT Power 4.0p 2014-01-15, GWT 2.5.1, FF 26
This works. However, the area to the right of the item's value is clickable and the cursor changes to a hand there as well.
Is there a way to automatically set the width of a StaticTextItem to the width of its value so that the user does not accidentally click white space and gets taken to a different page?
SmartGWT Power 4.0p 2014-01-15, GWT 2.5.1, FF 26
Comment