This repository was archived by the owner on May 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
sormas-ui/src/main/java/de/symeda/sormas/ui/symptoms Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838
3939import com .vaadin .server .ThemeResource ;
4040import com .vaadin .shared .ui .ContentMode ;
41+ import com .vaadin .shared .ui .MarginInfo ;
4142import com .vaadin .ui .Alignment ;
4243import com .vaadin .ui .Button ;
4344import com .vaadin .ui .HorizontalLayout ;
@@ -108,7 +109,7 @@ public class SymptomsForm extends AbstractEditForm<SymptomsDto> {
108109 fluidRowCss (VSPACE_3 ,
109110 //XXX #1620 fluidColumnLoc?
110111 fluidColumn (8 , 0 , loc (SYMPTOMS_HINT_LOC ))) +
111- fluidRow (fluidColumn (6 , 6 , locCss (CssStyles .ALIGN_RIGHT ,BUTTONS_LOC )))+
112+ fluidRow (fluidColumn (8 , 4 , locCss (CssStyles .ALIGN_RIGHT ,BUTTONS_LOC )))+
112113 fluidRow (
113114 fluidColumn (6 , -1 ,
114115 locsCss (VSPACE_3 ,
@@ -785,7 +786,7 @@ protected void addFields() {
785786 buttonsLayout .addComponent (setEmptyToNoButton );
786787 buttonsLayout .addComponent (setEmptyToUnknownButton );
787788 buttonsLayout .setDefaultComponentAlignment (Alignment .MIDDLE_CENTER );
788- buttonsLayout .setMargin (true );
789+ buttonsLayout .setMargin (new MarginInfo ( true , false , true , true ) );
789790
790791 getContent ().addComponent (buttonsLayout , BUTTONS_LOC );
791792 }
You can’t perform that action at this time.
0 commit comments