@Override
protected void onFirstShowPage() {
super.onFirstShowPage();
final PSplitLayoutPanel splitLayoutPanel = new PSplitLayoutPanel();
splitLayoutPanel.addNorth(buildComponent("north", "#f2a45c"), 50);
splitLayoutPanel.addSouth(south = buildComponent("south", "#75ffdc"), 50);
splitLayoutPanel.addEast(east = buildComponent("east", "#b879fc"), 100);
splitLayoutPanel.addWest(west = buildComponent("west", "#e8b6ea"), 100);
splitLayoutPanel.add(buildCenterPanel());
splitLayoutPanel.setWidgetToggleDisplayAllowed(east, true);
splitLayoutPanel.setWidgetToggleDisplayAllowed(west, true);
splitLayoutPanel.setWidgetSnapClosedSize(south, 40);
splitLayoutPanel.setWidgetToggleDisplayAllowed(south, true);
splitLayoutPanel.addLayoutResizeHandler(new PLayoutResizeHandler() {
@Override
public void onLayoutResize(final PLayoutResizeEvent resizeEvent) {
for (final LayoutResizeData data : resizeEvent.getLayoutResizeData()) {
if (data.w == south) {