No worries :o)
On Aug 15, 7:10 pm, Mike Dee wrote:
> Dave,
>
> I think you got it. Double checked and wasn't setting height to
> 100%. Thanks, that seems to have done it. Thought I was doing that.
>
> Mike
>
> On Aug 15, 9:01 am, DaveC wrote:
>
>
>
> > Hi Mike,
>
> > I'm trying to understand
Dave,
I think you got it. Double checked and wasn't setting height to
100%. Thanks, that seems to have done it. Thought I was doing that.
Mike
On Aug 15, 9:01 am, DaveC wrote:
> Hi Mike,
>
> I'm trying to understand your issue...
>
> I'm assuming that DockLayoutPanel is in an Activity and t
Dave,
I never thought about adding the DockLayout in the activity's start()
method. I am using the HelloMVP sample and they add widgets to the
view in the view's implementation (HelloViewImpl).
When the activity (associated with the view) is activated (at a later
point), HelloViewImpl creates it
Jens,
I am doing as you suggest. onModuleLoad() creates the SimplePanel and
the View implementation adds a DockLayoutPanel. Basically, I copied
the HelloMVP example.
You bring up an interesting issue. Do I really want a DockLayoutPanel
for just one activity/place.
In this case I do. I would
Hi Mike,
I'm trying to understand your issue...
I'm assuming that DockLayoutPanel is in an Activity and that you're
adding it to the SimplePanel using panel.setWidget() in the start
method...? (I don't want to teach you to suck eggs - but you can use
Firebug (or similar) to check the DOM of your
I think you should use
SimpleLayoutPanel appWidget = new SimpleLayoutPanel();
RootLayoutPanel.get().add(appWidget);
Now you should be able to add a DockLayoutPanel to the appWidget inside an
activities start method.
But do you really want a DockLayoutPanel just for one Place/Activity or do
yo
I replaced RootPanel with RootLayoutPanel.
Here is the EntryPoint from HelloMVP:
private SimplePanel appWidget = new SimplePanel();
...
RootPanel.get().add( appWidget );
activityManager.setDisplay( appWidget );
I replaced RootPanel with RootLayoutPanel:
private SimplePanel appWidget = new
You need rootlayoutpanel, the host page should be in standards mode
( see doctype declaration).
Then you should look if all the panels being used implement provides
resize/ requires resize. That is the way resize events get propagated
to child elements in gwt.
On Aug 15, 8:00 am, Mike Dee wrote:
Getting started with Activities and Places. I'd like to use a
DockLayoutPanel to comprise the entire view (page). When I try, it
doesn't work.
Note I'm using HelloMVP is a starting point and that in the EntryPoint
a SimplePanel is set up as the default Panel. I've tried adding a
DockLayoutPanel
This topic has been brought up a few times before. This thread is
probably most appropriate: http://tinyurl.com/3z8mn4v. I still don't
get it though. Seems like Activities and Places is fairly limited in
the types of layouts that can be used, based on the HelloMVP example.
Let's assume I want t
10 matches
Mail list logo