View Single Post
11-19-20, 09:51 PM   #2
kurapica.igas
A Chromatic Dragonspawn
Join Date: Aug 2011
Posts: 152
Try to put the fontstring and texture on the same frame, and change the texture's drawlayer to artwork.

Lua Code:
  1. local iconFrame = CreateFrame("Frame", nil, frame)
  2. iconFrame:SetSize(32, 32)
  3. iconFrame:SetPoint("TOPLEFT", x, y)
  4.  
  5. local itemTexture = iconFrame:CreateTexture(nil, "ARTWORK")
  6. itemTexture:SetAllPoints()
  7.  
  8. local itemCountText = iconFrame:CreateFontString(nil, "OVERLAY")
  9. itemCountText:SetPoint("BOTTOMRIGHT", -4, 4)
  10. itemCountText:SetFont("Fonts\\FRIZQT__.TTF", 11, "THICKOUTLINE")
  11. itemCountText:SetJustifyH("RIGHT")
  Reply With Quote