We can just use a GtkBox, and set hexpand=TRUE/halign=CENTER to allocate the editor in the middle of the box.