View Single Post
07-20-23, 09:05 PM   #6
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,894
Adding to the ReputationFrame scrolllist is going to be tricky because you don't control the data.

To add one to you own frame then the actual list entries use the ReputationBarTemplate (this will place a rep entry at the top of your screen)
Lua Code:
  1. local f = CreateFrame("Button", "nkttennesseeRep", UIParent, "ReputationBarTemplate")
  2. f:SetSize(200, 50)
  3. f:SetPoint("TOP")
  4. f.Container:SetAllPoints()
  5. f.Container.Name:SetText("The Nkttennessee")
  6. f.Container.ReputationBar:SetStatusBarColor(0, 1, 0)
  7. f.Container.ReputationBar:SetValue(0.5)
  8. f.Container.ReputationBar.BonusIcon:Hide()
  9. f.Container.ReputationBar.FactionStanding:SetText("Awesome")
  10. f.Container.ExpandOrCollapseButton:Hide()
  11. f.Container.Paragon:Hide()
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote