This is also how the Tcl/Tk pack layout works.
I found Tk was really great for simple layouts, but I worked on a Tk project that had some very complicated control panels. Ultimately it became unwieldy and difficult to refactor the UI as moving code around would have breaking consequences.