@@ -160,9 +160,6 @@ public TwinColGrid(final ListDataProvider<T> dataProvider, String caption) {
160160 rightGridDataProvider = DataProvider .ofCollection (new LinkedHashSet <>());
161161 getRightGrid ().setDataProvider (rightGridDataProvider );
162162
163- fakeButtonContainerLabel .getElement ().setProperty ("innerHTML" , " " );
164- fakeButtonContainerLabel .setVisible (false );
165-
166163 getLeftGrid ().setWidth ("100%" );
167164 getRightGrid ().setWidth ("100%" );
168165
@@ -259,6 +256,9 @@ private VerticalLayout getVerticalButtonContainer() {
259256 removeButton .setIcon (VaadinIcon .ANGLE_LEFT .create ());
260257 removeAllButton .setIcon (VaadinIcon .ANGLE_DOUBLE_LEFT .create ());
261258
259+ fakeButtonContainerLabel .getElement ().setProperty ("innerHTML" , " " );
260+ fakeButtonContainerLabel .setVisible (false );
261+
262262 VerticalLayout vButtonContainer =
263263 new VerticalLayout (
264264 fakeButtonContainerLabel , addAllButton , addButton , removeButton , removeAllButton );
@@ -276,7 +276,7 @@ private HorizontalLayout getHorizontalButtonContainer() {
276276
277277 HorizontalLayout hButtonContainer =
278278 new HorizontalLayout (
279- fakeButtonContainerLabel , addAllButton , addButton , removeButton , removeAllButton );
279+ addAllButton , addButton , removeButton , removeAllButton );
280280 hButtonContainer .setPadding (false );
281281 hButtonContainer .setSizeUndefined ();
282282 return hButtonContainer ;
0 commit comments