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.
Hi everyone,I would like to know how to set scroll bar on popup window.
I set the pop up window final Window wnd = getWindow(); wnd.setModal(true); wnd.setWidth("500px" ); wnd.setHeight("500px");
I would like to set the scroll bar on that window.The pop up window is showing image.and if the image size is larger than window width and height, i would like to set scroll bar.
Thanks and Regards,Yan
It should work that way.
To get scroll bars, the content must be bigger than the content area. This is only possible if the size of the root layout, which you get/set with getContent()/setContent(), has either:
For example, say: