Well, in that case it seems the Layout implementation of GWT overrides when
I set position via
[Widget].getElement().getStyle().setPosition(Position.RELATIVE) ; it sets
the position to 'absolute'. The same goes for overflow property, which is
set to 'hidden' whatever I manually set it to in my
you can set styles via code.
On Wed, Jul 20, 2011 at 1:42 AM, MChan wrote:
> It still did not work. However, when I changed the resulting divs (Chrome
> inspect element tool) position to "relative" instead of absolute, I was able
> to see the tab content fit. But I can't do that programmatically
It still did not work. However, when I changed the resulting divs (Chrome
inspect element tool) position to "relative" instead of absolute, I was able
to see the tab content fit. But I can't do that programmatically.
I ended up creating my own control, with custom animation.
Thanks for your time
oh, if you want to render your panels on click of a button, then you don't
necessarily need two ResizeLayoutPanels, just render the contents of the
appropriate tabLayoutPanel
alternatively, you can set the visibility of the panels to true/ false on
click. this would also force the height adjustmen
Yeah, I was setting both heights to 100%.
When I set the ResizeLayoutPanels height to 50%, I see them both on my test
page, each taking 50% of the vertical space. That's a start!
However, what I'm trying to achieve is the TabLayoutPanel to show when I
click on "Show details" on a result.
*Exam
are you setting 100% as the height for both the resize layout panels? if yes
how will the page render as your total height is 100% and you are assigning
to the 1st resisze panel, the second panel would not be able to calculate
its layout details.
try setting the height to 50% and see the out come
Hey,
Thanks for your quick reply.
So, I already had the CSS rule for TabLayoutPanel set to 100%. I can see it
in "Inspect Element" tool of Chrome.
I'm not sure if using the SplitLayoutPanel (or DockLayoutPanel) would be
okay in my situation, as the their center panel only accept one child
widge
Also, make sure the height of the tabLayoutPanel is set to 100%
.gwt-TabLayoutPanel {
height : 100%;
}
~Ashwin
On Tue, Jul 19, 2011 at 8:10 PM, ashwin.desi...@gmail.com <
ashwin.desi...@gmail.com> wrote:
> the problem is not with your TabLayout panel. what you have there would
> work fine. The
the problem is not with your TabLayout panel. what you have there would work
fine. The issue is with the Grid.
Its best to use LayoutPanels inside other layoutpanels. In your case if all
that you are doing is rendering two TabLayoutPanels, you don't have to
necessarily use a grid.
i would instead
Hi,
As a matter of fact, I'll have more than two TabLayoutPanel on one page. I'm
trying to create a result page, and each result has a "Show details" link
which opens a TabLayoutPanel that displays 2 tabs.
I simplified what I'm trying to achieve in a separated project, but I still
can't get what
you are having this problem because your page is not able to resize
properly. What sort of widget is your is that a Simple Panel?
you can place your Tab Layout Panel directly inside the RootLayout Panel.
since you want to have two Tab Panels, place them inside a simple panel
would not work prope
Hi,
Have you figured out how to accomplish what you were trying to do?
It could help the similar issue I've got here. I'm trying to get something
like:
Title
...
...
The h1 item displays, but the first Wi
That code should be:
Title
...
...
On Sep 2, 12:30 pm, Falcon wrote:
> Perhaps I should be more specific.
>
> My problem is that I have multiple TabLayoutPanels in nested widgets.
> It appears that if you have a single TabLayo
Perhaps I should be more specific.
My problem is that I have multiple TabLayoutPanels in nested widgets.
It appears that if you have a single TabLayoutPanel attached to
RootLayoutPanel, then the tab's content area will fill the space
needed to show the content. However, my structure is like the
fo
I'm pretty new to the GWT layout system. Since I'm using standards
mode I really should use TabLayoutPanel instead of TabPanel. However,
I need the content area of each tab to fill all of the vertical and
horizontal space of its parent. How do I accomplish that?
Thanks!
--
You received this mess
15 matches
Mail list logo