Group TextField and Button

Hi,

i have a problem with the replacement of CssLayout by FlexLayout.
In Vaadin 8 i often use Grouping elements like this:

TextField someTextField 
Button someButton 
CssLayout someCssLayout

someCssLayout.addComponents(someTextField, someButton)
someCssLayout.setStyleName(ValoTheme.LAYOUT_COMPONENT_GROUP)

In Vaadin 10

TextField someTextField 
Button someButton 
FlexLayout someFlexLayout

someFlexLayout.add(someTextField, someButton)
someFlexLayout...........(No such option)

Iam using only plain java for all. So is there a replacement the Group Layout thing?

No replacement yet. You need custom CSS to accomplish the same thing.