I see both Horizontal and Vertical scrollbar with the below code
HorizontalLayout horizontalLayout = new HorizontalLayout(button1, button2,new TextField("I'm label"));
horizontalLayout.setJustifyContentMode(JustifyContentMode.END);
horizontalLayout.setAlignItems(Alignment.BASELINE);
horizontalLayout.setWidthFull();
add(horizontalLayout);
How do I avoid this scrollbars ?