As the
frame:SetMinResize() and
frame:SetMaxResize() non longer exist, is there a way to manage a frame live resizing, in order to limit its height for example?
I used to use:
Lua Code:
resizeBtn:SetScript("OnMouseDown", function(self, mouse) -- resizeBtn is handler at the bottom of the parentFrame to resize
if (mouse == "LeftButton" and not parentFrame.isResizing) then
parentFrame.isResizing = true
parentFrame:StartSizing("BOTTOM")
end
end)
This worked fine in WoW 9.0 if parentFrame:SetMinResize() was added at the frame creation.