Resize widgets for non 16:9 resolution

Hello everyone!

I’ve been stuck with a problem, which seems like an easy one to solve, but I couldn’t figre out how.

I have a widget, that is 16:9 aspect ratio. I need to scale it down for resolutions with lesser aspect like 4:3 or 5:4. But I can’t understand how. I’ve wrapped whole widget in scale box, I’ve anchored it to corners but still no result.

Here’s a screen of two cliend windows to illustrate. I want the second one still be visible fully but with lesser scale