Select any widget. It has the "Anchor" section. Change the type to "Unified", then for each field (left, right, bottom, top), set them to what you need them to be. Custom is one of the options there.
For example to anchor something in the bottom-left and make it 25% width, set left to be target's left +0, right be custom 0.25 +0.