File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src/test/java/com/flowingcode/vaadin/addons/localecombobox Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,7 @@ public class BaseLocaleComboBoxDemo extends Div {
3333 protected HorizontalLayout createHorizontalContainer (String title , LocaleComboBox combo ) {
3434 Span titleSpan = new Span (new Text (title ));
3535 titleSpan .setWidth ("300px" );
36- HorizontalLayout container = new HorizontalLayout ();
37- container .setWidthFull ();
38- container .setAlignItems (Alignment .CENTER );
39- container .setJustifyContentMode (JustifyContentMode .BETWEEN );
40- container .add (titleSpan , combo );
41- container .expand (combo );
42- return container ;
36+ return createHorizontalContainer (titleSpan , combo );
4337 }
4438
4539 protected HorizontalLayout createHorizontalContainer (Component component , LocaleComboBox combo ) {
You can’t perform that action at this time.
0 commit comments