Skip to content

Commit 7213bcc

Browse files
authored
Fix the buttons per row being stuck on 6 after reloading. (#85)
1 parent dd7b474 commit 7213bcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MacroToolkit/modules/mainframe.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ function MT:CreateMTFrame()
263263

264264
local mtscrollchild = CreateFrame("Frame", "MacroToolkitButtonContainer", mtscroll, "BackdropTemplate")
265265
do
266-
mtscrollchild:SetSize(285, 10)
266+
mtscrollchild:SetSize(mtframe:GetWidth() - 345, 10)
267267
mtscrollchild:SetPoint("TOPLEFT")
268268
self:ContainerOnLoad(mtscrollchild)
269269
mtscroll:SetScrollChild(mtscrollchild)

0 commit comments

Comments
 (0)