Adds a line to the tooltip with both left-side and right-side portions. The tooltip is not automatically resized to fit the added line; to do so, call the tooltip's :Show() method after adding lines.

Signature:

GameTooltip:AddDoubleLine("textLeft", "textRight" [, rL [, gL [, bL [, rR [, gR [, bR]]]]]])

Arguments:

  • textLeft - Text to be displayed on the left side of the new line (string)
  • textRight - Text to be displayed on the right side of the new line (string)
  • rL - Red component of the color for the left-side text (0.0 - 1.0) (number)
  • gL - Green component of the color for the left-side text (0.0 - 1.0) (number)
  • bL - Blue component of the color for the left-side text (0.0 - 1.0) (number)
  • rR - Red component of the color for the right-side text (0.0 - 1.0) (number)
  • gR - Green component of the color for the right-side text (0.0 - 1.0) (number)
  • bR - Blue component of the color for the right-side text (0.0 - 1.0) (number)