Buttons always visible

Hello everybody! I’m a newbie on Vaadin, so I’m sorry if this is a silly question.

My application has a view with three components: a button layout and 2 forms. I’ve been told to keep buttons always visible when you scroll down. I mean, you have to see them always on top. Is it possible?

Thanks in advance.

Bonjour,
if you put the buttons in one panel and the forms in another panel and the two panels into a vertical layout, the scrollpane will show up only for the forms and the buttons will stay visible at the top.

Hello Gilles,

Do you mean something like this?

Panel1.addComponent(buttonLayout);
Panel2.addComponent(form1Layout);
Panel2.addComponent(form2Layout);
myWindow.addComponent(Panel1);
myWindow.addComponent(Panel2);

(myWindow has verticalLayout set as root layout)

Merci beaucoup :wink: