Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit f1f6a99

Browse files
Merge pull request SORMAS-Foundation#3538 from ImisDevelopers/bugfix-3434-symptoms-form
Fix text cutoff in symptoms form (Fixes SORMAS-Foundation#3434)
2 parents fae7968 + ac9dad6 commit f1f6a99

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sormas-ui/src/main/java/de/symeda/sormas/ui/symptoms/SymptomsForm.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
import com.vaadin.server.ThemeResource;
4040
import com.vaadin.shared.ui.ContentMode;
41+
import com.vaadin.shared.ui.MarginInfo;
4142
import com.vaadin.ui.Alignment;
4243
import com.vaadin.ui.Button;
4344
import 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
}

0 commit comments

Comments
 (0)