Hello! I am recreating my DevTools plugin with widgets. When I set the Min and Max Size in the WidgetInfo, the plugin completely ignores the values and lets me scale the widget freely. The way I have it setup, it shouldn’t be scalable.
A UDim object is constructed with 2 values, Scale and Offset, UDim2 is constructed by 2 UDims, X and Y. This is the value of every GuiObject’s Size and Position you should see normally.
Scale is measured like percentage by the Parent’s size. Scale=0.5 meaning the GuiObject will measure half it’s parent, Scale=0.25 means a quarter of it, regardless the size.
Offset is measured after Scale by pixels. Offset=50 means the GuiObject will add up 50 pixels.
Further explanation can be viewed here: Intro to GUIs, but you should understand enough how scaling works in GUI and fix your Plugin.