View Single Post
12-10-13, 04:46 PM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Okay, maybe not a nice fix, or even permanent, but the following stops the errors and the buttons are still usable from what I could see. Downside is that some of the extra nUI buttons that were linked to the micro buttons are no longer there.

File: nUI_MicroMenu.lua
Around Line: 205 - Comment this positioning block out. The moment these buttons are setpointed in nUI it triggers an error with the setpoint call.
Lua Code:
  1. --[[           
  2. button:ClearAllPoints();
  3.            
  4. if i == 1 then
  5.  width = (btnWidth+0.6) * btn_scale;
  6.  button:SetPoint( "BOTTOMLEFT", frame, "BOTTOMLEFT", 3 * scale * nUI.hScale, 3 * scale * nUI.vScale )
  7. else
  8.  button:SetPoint( "LEFT", last_button, "RIGHT", btn_gap, 0 );
  9.  width = width + (btnWidth+0.6) * btn_scale + btn_gap;
  10. end
  11. --]]

Notice the difference with the buttons.


Edit: Looking at Vrul's changes it looks like the setpoints are the cause.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_121013_223927.jpg
Views:	534
Size:	1.14 MB
ID:	7959  Click image for larger version

Name:	WoWScrnShot_121013_223847.jpg
Views:	527
Size:	1.13 MB
ID:	7960  
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 12-10-13 at 04:50 PM.