[OpenLayers] Popup size

Hi,

I’m trying to make a popup with he size I want. The properties setWidth and setHeight don’t do what I want. Do you have any idea?

Regards.

Hi,

I think the popup might lack support for explicit size, but it should obey the content size. So if you set e.g. a CssLayout into the popup, try defining size for it.

cheers,
matti

How can I set a Layout into the popup. The setContent() method requires a String as parameter not a Layout.

Hi,

Use addComponent(Component) method.

cheers,
matti

Thanks Matti for your precious help :wink:

I have a PopupView that opens a one TextField and Button that these both are added in a VerticalLayout and the PopupView has been aded to an HorizontalSplitPanel as a Second Component og it.If the user clicks on PopupView it has to display that in the with in that HorizontalSplitPanel
(Doesn’t matter about the users scrren (or) Browser Restore Down (or) Browser Maximized) how i can do this for PopupView)
.