Quantcast

This _might_ fix the issue where the header line would expand vertically. Can't tell because it's hard to reproduce.

Scott Sibley [07-06-11 - 01:09]
This _might_ fix the issue where the header line would expand vertically. Can't tell because it's hard to reproduce.
Filename
Modules/UnitTooltip/UnitTooltip.lua
diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua
index 9bc6916..43d2105 100644
--- a/Modules/UnitTooltip/UnitTooltip.lua
+++ b/Modules/UnitTooltip/UnitTooltip.lua
@@ -879,9 +879,12 @@ do
         end
 	for i, v in ipairs(StarTip.trunk) do
 		if #v == 2 then
-			StarTip.tooltipMain:AddLine(v[1], v[2])
+			local y = StarTip.tooltipMain:AddLine('', '')
+			StarTip.tooltipMain:SetCell(y, 1, v[1])
+			StarTip.tooltipMain:SetCell(y, 2, v[2])
 		else
-			StarTip.tooltipMain:AddLine(v[1])
+			local y = StarTip.tooltipMain:AddLine('')
+			StarTip.tooltipMain:SetCell(y, 1, v[1], nil, "LEFT", 2)
 		end
 	end
 	StarTip:TrunkClear()