Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
Adjust Buttons to the widthest one
How can I do to make the buttons width adjust to the widthest one.
https://goo.gl/photos/u2QdBJPGydmGY5QLA
VerticalLayout midLeft = new VerticalLayout(btnAsignar, btnCombinar, btnReemplazar, btnCancelar);
midLeft.setSpacing(true);
Last updated on
If I setSizeFull() to some of them , they readjust to the biggest one, but if I set all them with SizeFull, the setting get lost
btn1.setSizeFull();
btn2.setSizeFull();
//btn3.setSizeFull(); //this is the one with a largest caption (for now)
btn4.setSizeFull();
must be a better way to achieve this
Last updated on
You cannot reply to this thread.