From 44d4923d45b3270fe4c4ffe081325ba1bb3b0df9 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Tue, 19 Dec 2017 19:42:23 +0000 Subject: [PATCH] Moved the center gui test --- ExpCore/GuiParts/test.lua | 13 +++++++++++++ control.lua | 15 +-------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ExpCore/GuiParts/test.lua b/ExpCore/GuiParts/test.lua index 9e370a3b..54084e83 100644 --- a/ExpCore/GuiParts/test.lua +++ b/ExpCore/GuiParts/test.lua @@ -111,6 +111,19 @@ end Gui.toolbar.add('open-gui-test','Open Test Gui','Opens the test gui with every input',test_gui) +-- testing the center gui +Gui.center.add{ + name='test-center', + caption='Gui Center', + tooltip='Just a gui test' +}:add_tab('tab-1','Tab 1','Just a tab',function(frame) + frame.add{type='label',caption='Test'} +end):add_tab('tab-2','Tab 2','Just a tab',function(frame) + for i = 1,100 do + frame.add{type='label',caption='Test 2'} + end +end) + return test_gui diff --git a/control.lua b/control.lua index e76278d5..8d94b1c5 100644 --- a/control.lua +++ b/control.lua @@ -41,17 +41,4 @@ require('/ExpCore/ranks') -- this loads any edits that are not need in core pcall as file may not be preset pcall(require,'/Addons/playerRanks') -- this makes sure that all the little details are cleaned up -Ranking._auto_edit_ranks() - --- testing the center gui -Gui.center.add{ - name='test-center', - caption='Gui Center', - tooltip='Just a gui test' -}:add_tab('tab-1','Tab 1','Just a tab',function(frame) - frame.add{type='label',caption='Test'} -end):add_tab('tab-2','Tab 2','Just a tab',function(frame) - for i = 1,100 do - frame.add{type='label',caption='Test 2'} - end -end) \ No newline at end of file +Ranking._auto_edit_ranks() \ No newline at end of file