You also need to specify the unit... eg. px, em etc.
Here is the example
CellBrowser browser =new CellBrowser(model,null);
browser.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.ENABLED);
browser.setHeight("200px");
browser.setWidth("630px");
It should work after this change.
Thanks
Vijay Za
I'm using GWT 2.4. I'm setting width and height on cellBrovser but
nothing...i don'y see nothing!
That'is my source:
public void onModuleLoad() {
> // Add the widgets to the root panel.
>
> //solution 1 : OK
> RootLayoutPanel.get().add(createCellBrowser()
That's great. I have set an explicit height and width and it is
displaying now. So simple!
On Dec 2, 1:21 am, John LaBanca wrote:
> CellBrowser implements RequiresResize, so it needs an unbroken change of
> parents that all implement ProvidesResize, up to the RootLayoutPanel (not
> RootPanel). Y
CellBrowser implements RequiresResize, so it needs an unbroken change of
parents that all implement ProvidesResize, up to the RootLayoutPanel (not
RootPanel). You can find more documentation about LayoutPanels in the dev
guide:
http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Lay
I am having trouble getting a CellBrowser component to display in my
existing GWT 2.1 project. I have tried both CellBrowserExample1.java
and CellBrowserExample2.java, by converting the entry point classes to
VerticalPanels, then adding them to my application. For example, this
is a modified
http:/