It’s possible to do (pretty clunkily though) using UITableLayout. Set it to fill available space, then insert a UISizeConstraint/UIAspectRatioConstraint into every single cell except the last one, all in a single row.
It might be possible with the updated SizeFromContents API I’m hoping to ship in the next month or so.
Overall, it’s best to do it with scripts right now.
Update (July 2024)
This will be possible to do once flex layout comes out of beta.
To do it, insert a frame to serve as the spacer object, and set its size to zero. Set the correct LayoutOrder so it appears in the spot you want it. Now, add a UIFlexItem as a child of this frame, and set the FlexMode to Grow. As soon as you do that, it should fill up the rest of the space.
UIFlexItemExample.rbxl (59,2,KB)
