File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/com/flowingcode/vaadin/addons/errorwindow Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ private VerticalLayout createMainLayout() {
129129 mainLayout .setSpacing (false );
130130 mainLayout .setPadding (false );
131131 mainLayout .setMargin (false );
132+ mainLayout .setSizeFull ();
132133
133134 final Html title =
134135 new Html (
@@ -180,12 +181,15 @@ private Button createDetailsButtonLayout() {
180181 }
181182
182183 private VerticalLayout createExceptionTraceLayout () {
184+ Component stackTraceArea = createStackTraceArea ();
183185 exceptionTraceLayout = new VerticalLayout ();
184186 exceptionTraceLayout .setSpacing (false );
185187 exceptionTraceLayout .setMargin (false );
186188 exceptionTraceLayout .setPadding (false );
187- exceptionTraceLayout .add (createStackTraceArea ());
189+ exceptionTraceLayout .add (stackTraceArea );
190+ exceptionTraceLayout .setFlexGrow (1 , stackTraceArea );
188191 exceptionTraceLayout .setVisible (false );
192+ exceptionTraceLayout .getElement ().getStyle ().set ("flex-grow" , "1" );
189193 return exceptionTraceLayout ;
190194 }
191195
You can’t perform that action at this time.
0 commit comments