Port _SubMenuLayouter.py.
Port _CheckBoxLayouter.py.