Fix last follower mission list button sometimes being about half the size of the rest by setting the button to fullwidth before attaching it to the list
WildCard_25 [03-17-19 - 16:42]
Fix last follower mission list button sometimes being about half the size of the rest by setting the button to fullwidth before attaching it to the list
diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua
index 612a001..c0280f3 100644
--- a/GarrisonCommander.lua
+++ b/GarrisonCommander.lua
@@ -1512,8 +1512,8 @@ do
if mission and party and #party.members >= G.GetMissionMaxFollowers(missionID) then
local mb=AceGUI:Create("GMCMissionButton")
mb:SetScale(0.6)
- ml:PushChild(mb,missionID)
mb:SetFullWidth(true)
+ ml:PushChild(mb,missionID)
mb:SetMission(mission,party,false,"followers")
mb:SetCallback("OnClick",MissionOnClick)
prog=prog+1