View Single Post
10-31-22, 04:41 AM   #1
yoshimario40
A Defias Bandit
 
yoshimario40's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2020
Posts: 2
Need help with the new RegisterVerticalLayoutCategory

Hey guys. I'm trying out the fancy new RegisterVerticalLayoutCategory() that was introduced in 10.0.0. There's a code sample in https://wowpedia.fandom.com/wiki/Pat....0/API_changes that I'm trying out, but I'm actually running into a couple of issues running it as is. The main problem is that RegisterProxySetting() seems to actually taint something in the background and the addon becomes blocked whenever you try to cast any spell.

I looked into some alternatives and found RegisterAddonSetting(), which seems to do something very similar but uses secure calls instead. It seems to work fine, but its missing the variableTbl parameter. I'm not sure how you're supposed to use this to hook back into your table of saved settings.

Has anyone been able to use the vertical layout successfully? If so, let me know if you were able to solve this problem!

(Also, Settings.CreateDropDownTextContainer() doesn't exist. Looks like it was renamed to Settings.CreateControlTextContainer(). Replacing the function call with this one seems to work out.)
  Reply With Quote