View Single Post
04-04-22, 09:29 AM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
Every time it's shown you run listview_CreateList

Every time listview_CreateList is run, among other things, it creates a new fontstring on the buttons so you are getting overlay.

Maybe change your xml to only create the buttons, fontstrings etc. once, or do it OnLoad.
Code:
<OnShow>
	self.selected = nil
	if not self.buttons then
		listview_CreateList(self, self:GetHeight()/20)
	end
</OnShow>
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 04-04-22 at 09:52 AM.
  Reply With Quote