Change-Id: Ic8b5898facf559f253357e6cde6ee2b10be63a79
@Override
protected void startResize() {
- if (isWidgetFullWidth(getFirstWidget())) {
+ if (getFirstWidget() != null && isWidgetFullWidth(getFirstWidget())) {
getFirstContainer().getStyle().setOverflow(Overflow.HIDDEN);
}
- if (isWidgetFullWidth(getSecondWidget())) {
+ if (getSecondWidget() != null && isWidgetFullWidth(getSecondWidget())) {
getSecondContainer().getStyle().setOverflow(Overflow.HIDDEN);
}
}
@Override
protected void startResize() {
- if (isWidgetFullHeight(getFirstWidget())) {
+ if (getFirstWidget() != null && isWidgetFullHeight(getFirstWidget())) {
getFirstContainer().getStyle().setOverflow(Overflow.HIDDEN);
}
- if (isWidgetFullHeight(getSecondWidget())) {
+ if (getSecondWidget() != null && isWidgetFullHeight(getSecondWidget())) {
getSecondContainer().getStyle().setOverflow(Overflow.HIDDEN);
}
}