How to make plugin UI fit screen size?

How do I make a plugin GUI fit the size it is in, for example if I put the plugin on the bottom left on the screen and made it’s size small it would be very small but then If I the plugin size very big it would not fit the entire screen

I assume this is for a dockwidget Plugin

Have you watched Codetaku’s video?

Yes it is a dockwidget plugin, and I did not watch the video

You must set UI’s elements’ size to Scale

I think for it “not fitting whole screen”, make sure all sizes are on scale
Next, go to the ScreenGui and check “IgnoreGuilnset”. Im not a big UI Artist but that works for me

Then what do I put for the position scale or size?

When I put size to Scale all the elements get really tiny and compressed