View Single Post
01-15-23, 07:00 AM   #1
ssg_mon
A Kobold Labourer
Join Date: Jan 2023
Posts: 1
Trying to add a separator between menu options

{ -- [1]
text = C_LFGList.GetSearchResultInfo(resultID).name, --Group name goes here
isTitle = true,
notCheckable = true,
},
{-- [2]
text = WHISPER_LEADER,
func = function() ChatFrame_SendTell(name); end,
notCheckable = true,
arg1 = nil, --Leader name goes here
disabled = nil, --Disabled if we don't have a leader name yet or you haven't applied
tooltipWhileDisabled = 1,
tooltipOnButton = 1,
tooltipTitle = nil, --The title to display on mouseover
tooltipText = nil, --The text to display on mouseover
},
{
-- Separator???
},
{-- [3]
text = LFG_LIST_REPORT_GROUP_FOR,
notCheckable = true,
func = function(_, id)
LFGList_ReportListing(id, name);
LFGListSearchPanel_UpdateResultList(LFGListFrame.SearchPanel);
end;
},
{-- [4]
text = REPORT_GROUP_FINDER_ADVERTISEMENT,
notCheckable = true,
func = function(_, id)
LFGList_ReportAdvertisement(id, name);
LFGListSearchPanel_UpdateResultList(LFGListFrame.SearchPanel);
end;
},
Hello I'm a noob to Lua, I'm trying to add a default separator between [2] and [3] but cannot find any info on google. Can anybody help me please?
  Reply With Quote