Quantcast WoWInterface - View Single Post - Changes to ScrollingMessageFrame?
View Single Post
05-15-16, 09:01 AM   #1
Jarod24
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 66
Changes to ScrollingMessageFrame?

I'm working on updating my addon to Legion and for some reason the scrollframes in my UI do not show any entries in the scrolling list anymore.

I'm using a ScrollingMessageFrame. It's content is refreshed anytime the user types into an searchbox. I've checked the code and the rest of it works just as it did before. Its just not showing (rendering) the result in the UI.

Here's the gist of the code:
1. get search input.
2. create table with result.
3. clear the scroll-frame.
3. for-loop outputting the result to the scrolling message frame using :AddMessage()


After opening/closing the windowframe and moving it around the screen multiple times it will sometimes suddenly work (showing entries), but for now I can't seem to predictable reproduce this.


Is there something in legion that has changed when it comes to rendering this UI element?
Could this just be a bug that will disappear later in the beta phase?

I'll post the code in question as a second entry (long).

You could also just download the addon "IfThen" and type "/ifthen morehelp argument" in chat.
On live servers it works, but not Legion beta. You see the scrolling list, the searchbox but nothing is rendered in legion.
__________________
Author of IfThen, Links in Chat