widgets example uses horizontal SplitLayout