private void setDetailsVisible ( boolean detailsVisible ) { detailsLayout . setVisible ( detailsVisible ) ; if ( detailsVisible ) { setAutoSize ( false ) ; expandButton . setTitle ( MESSAGES . exceptionDetailsHide ( ) ) ; setHeight ( WidgetLayout . exceptionWindowHeightDetails ) ; } else { expandButton . setTitle ( MESSAGES . exceptionDetailsView ( ) ) ; setHeight ( WidgetLayout . exceptionWindowHeightNormal ) ; } }
Toggle the visibility of the exception details .