Box.setCenterWidget

Sets a center widget; that is a child widget that will be centered with respect to the full width of the box, even if the children at either side take up different amounts of space.

class Box
void
setCenterWidget

Parameters

widget Widget

the widget to center

Meta

Since

3.12