File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/main/java/com/flowingcode/vaadin/addons/errorwindow Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -147,21 +147,22 @@ private VerticalLayout createMainLayout() {
147147 mainLayout .add (errorLabel );
148148 mainLayout .setHorizontalComponentAlignment (Alignment .START , errorLabel );
149149
150- HorizontalLayout buttonsLayout = new HorizontalLayout ();
151- buttonsLayout .setWidthFull ();
150+ HorizontalLayout buttonsLayout = new HorizontalLayout ();
152151 buttonsLayout .setSpacing (true );
153152 buttonsLayout .setPadding (false );
154153 buttonsLayout .setMargin (false );
155154
156155 if (!productionMode ) {
156+ buttonsLayout .setWidthFull ();
157+
157158 // copy details to clipboard button
158159 Button clipboarButton = new Button (i18n .getClipboard ());
159160 clipboarButton .addThemeVariants (ButtonVariant .LUMO_TERTIARY );
160161 ClipboardHelper clipboardHelper = new ClipboardHelper (getStackTrace (), clipboarButton );
161162 buttonsLayout .add (clipboardHelper );
162163 buttonsLayout .setAlignSelf (Alignment .START , clipboardHelper );
163164 buttonsLayout .setFlexGrow (1.0 , clipboardHelper );
164-
165+
165166 // show details button
166167 Button button = createDetailsButtonLayout ();
167168 buttonsLayout .add (button );
You can’t perform that action at this time.
0 commit comments