If rect is empty, AttachChild detaches instead
SplitLayout now supports splitting with a ratio
SplitLayout supports vertical and horizontal orientations
Fix TextWidget paints cursor till width of view