Fix minimized IIfa window height
Baertram [06-25-18 - 09:43]
Fix minimized IIfa window height
Fix the height of the IIfA inventory list as it get's minimized. The icons were shown below the lower border.
Maybe decrease the "lock" icon's size a bit as it seems to be pretty big compared to the other icons.
diff --git a/IIfA/IIfA_xml_adapter.lua b/IIfA/IIfA_xml_adapter.lua
index 51f7818..c04e0c7 100644
--- a/IIfA/IIfA_xml_adapter.lua
+++ b/IIfA/IIfA_xml_adapter.lua
@@ -508,7 +508,7 @@ function IIfA:RePositionFrame(settings)
if bMinimize then
IIFA_GUI:SetResizeHandleSize(0)
-- have to change the constraints, it even constrains resizing by code, not just resize by sizing handles
- IIFA_GUI:SetDimensionConstraints(IIfA.minWidth, 33, -1, 1400)
+ IIFA_GUI:SetDimensionConstraints(IIfA.minWidth, 44, -1, 1400)
IIFA_GUI:SetHeight(33)
IIFA_GUI:SetWidth(settings.width)