No, it's added to the main layout and then exposed through a getter(),
which is passed into activityManager.setDisplay(template.getAppPanel());
Those are the only references to it.
On Tuesday, February 10, 2015 at 2:56:19 PM UTC-6, Juan Pablo Gardella
wrote:
>
> Do you use 'appPanel' in diffe
Hmm
I have seen this before but I can't remember how I solved it.
My gut reaction hints are:
1) Try to make scrollPanel 100% height (and width) and see what happens.
You can try that directly in browser inspection tools - it will give you a
good grasp on how gwt widgets map to html elements
2
Do you use 'appPanel' in different places? an element can have only one
parent, adding an element to a different parent automatically removes it
from its previous parent.
On 10 February 2015 at 17:44, Nicholas Smith wrote:
> My bug was due to having introduced a second instance of my template, s
My bug was due to having introduced a second instance of my template, so
when calling to update content it as on the second instance, not the one
actually being displayed.
I tried switching from DockLayoutPanel to HeaderPanel as suggested
by Vassilis, but I can't get the content area to be scro
Furthermore I would suggest the HeaderPanel (terrible name - but very cool
widget) instead of the DockLayoutPanel so your header and footer can be
__naturally__ sized without having to specify exact size.
Vassilis
On Tue, Feb 10, 2015 at 12:55 AM, Jens wrote:
> Put a SimplePanel in your Doc
Put a SimplePanel in your DockLayoutPanel and then set the ActionBar into
that SimplePanel using SimplePanel.setWidget().
In your setActionBar() method call SimplePanel.setWidget(newBar) to replace
the old ActionBar with the new one.
So you basically put a container widget into your DockLayoutP
I have a page layout that contains a static header / footer, and 2 dynamic
portions (an action bar, and a scrollable content area).
I want my resulting page to resemble:
---HEADER--- (static)
---action-bar--- (dynamic, updated by whatever is in Content)
---content--- (dynamic, scrollable)
---F