Using ToolTip with a image.

I'm trying to use a ToolTip, with a image, but I can only get it to show if I use one of the Decorator Kinds, but they all seem to be adding some border / padding around the image. Is there a way to use the Decorator kinds, with out it adding this extra borders.

Comments

  • You'll probably need to use CSS to override border/padding/margin/etc.
  • edited May 2013
    Not sure, if this the right way to solve this, but what I ended up doing is setting defaultKind: "onyx.Icon" on the onyx.TooltipDecorator, and that seems to have had the desired results.
Sign In or Register to comment.