diff --git a/listframes.lua b/listframes.lua index 435864e..56c4004 100644 --- a/listframes.lua +++ b/listframes.lua @@ -68,7 +68,8 @@ local function repositionOrCreateEntryFrame(idx) if previousFrame ~= nil then local xPos xPos, yPos = previousFrame.getPosition() - yPos = yPos + 1 + local xSize, ySize = previousFrame.getSize() + yPos = yPos + ySize end local tw, th = frame.getSize() local entryFrame = subFrames[idx]