TabLayoutPanel inside TabLayoutPanel (IE problem?)

2011-05-16 Thread Luca Morettoni
Hello list, I have a GWT 2.2  application that the main UI is based on
a big TabLayoutPanel that use all the page size (100%), on a
particular tab of that I have a FlexTable with 3 rows:

- one FlexTable (width=100%, no heigth);
- one TabLayoutPanel (width=100%, no heigth);;
- one FlexTable (width=100%, no heigth);;

the two inner FlexTables has a small heigth and I set the rows height to:

getFlexCellFormatter().setHeight(0, 0, 5%);
getFlexCellFormatter().setHeight(1, 0, 90%);
getFlexCellFormatter().setHeight(2, 0, 5%);

with this code on FireFox and Chrome the layout is perfect, but in
IInternet Explorer (8  9) I loose the bottom part of the inner
TabLayoutPanel and the last FlexTable...
Any hint to resolve this?
Thanks!
-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni
Member of Python User Group Perugia: http://www.pypg.org/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



TabLayoutPanel ie problem

2010-05-18 Thread ailinykh
Hello,
 everybody!
I try to create layout with two  TabLayoutPanel widgets. (One's tab is
the parent for another)
This is the code. It works fine in chrome. But in IE inner
TabLayoutPanel's tab takes whole window. It looks like
it's parent (LayoutPanel)  doesn't exist. Any ideas how to fix it?

Thank you,
  Andrey


g:TabLayoutPanel barUnit='PX' barHeight='20'
g:tab
g:header size='7'
bTop HTML/b
header
/g:header
g:Labelable/g:Label
/g:tab
g:tab
g:header size='7'
one more
/g:header
g:LayoutPanel
g:layer left='0' width='20em'
g:Labelthis is label/g:Label
/g:layer
g:layer left='20em' right='0'
g:TabLayoutPanel barUnit='PX' 
barHeight='20'
g:tab
g:header size='7'
bHTML/b
header
/g:header
g:LabelOne more 
label/g:Label
/g:tab
/g:TabLayoutPanel
/g:layer
/g:LayoutPanel
/g:tab

/g:TabLayoutPanel

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: TabLayoutPanel ie problem

2010-05-18 Thread kozura
Might be this bug: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=4694can=5
The workaround should work for you.

On May 18, 12:28 pm, ailinykh ailin...@gmail.com wrote:
 Hello,
  everybody!
 I try to create layout with two  TabLayoutPanel widgets. (One's tab is
 the parent for another)
 This is the code. It works fine in chrome. But in IE inner
 TabLayoutPanel's tab takes whole window. It looks like
 it's parent (LayoutPanel)  doesn't exist. Any ideas how to fix it?

 Thank you,
   Andrey

         g:TabLayoutPanel barUnit='PX' barHeight='20'
                 g:tab
                         g:header size='7'
                                 bTop HTML/b
                                 header
                         /g:header
                         g:Labelable/g:Label
                 /g:tab
                 g:tab
                         g:header size='7'
                                 one more
                         /g:header
                         g:LayoutPanel
                                 g:layer left='0' width='20em'
                                         g:Labelthis is label/g:Label
                                 /g:layer
                                 g:layer left='20em' right='0'
                                         g:TabLayoutPanel barUnit='PX' 
 barHeight='20'
                                                 g:tab
                                                         g:header size='7'
                                                                 bHTML/b
                                                                 header
                                                         /g:header
                                                         g:LabelOne more 
 label/g:Label
                                                 /g:tab
                                         /g:TabLayoutPanel
                                 /g:layer
                         /g:LayoutPanel
                 /g:tab

         /g:TabLayoutPanel


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: TabLayoutPanel ie problem

2010-05-18 Thread ailinykh
Yes, this is it.
If I call forceLayout() on LayoutPanel when parent tab is selected
everything looks good.
Thank you very much!

Andrey

On May 18, 8:49 pm, kozura koz...@gmail.com wrote:
 Might be this 
 bug:http://code.google.com/p/google-web-toolkit/issues/detail?id=4694can=5
 The workaround should work for you.

 On May 18, 12:28 pm, ailinykh ailin...@gmail.com wrote:





  Hello,
   everybody!
  I try to create layout with two  TabLayoutPanel widgets. (One's tab is
  the parent for another)
  This is the code. It works fine in chrome. But in IE inner
  TabLayoutPanel's tab takes whole window. It looks like
  it's parent (LayoutPanel)  doesn't exist. Any ideas how to fix it?

  Thank you,
    Andrey

          g:TabLayoutPanel barUnit='PX' barHeight='20'
                  g:tab
                          g:header size='7'
                                  bTop HTML/b
                                  header
                          /g:header
                          g:Labelable/g:Label
                  /g:tab
                  g:tab
                          g:header size='7'
                                  one more
                          /g:header
                          g:LayoutPanel
                                  g:layer left='0' width='20em'
                                          g:Labelthis is label/g:Label
                                  /g:layer
                                  g:layer left='20em' right='0'
                                          g:TabLayoutPanel barUnit='PX' 
  barHeight='20'
                                                  g:tab
                                                          g:header size='7'
                                                                  bHTML/b
                                                                  header
                                                          /g:header
                                                          g:LabelOne more 
  label/g:Label
                                                  /g:tab
                                          /g:TabLayoutPanel
                                  /g:layer
                          /g:LayoutPanel
                  /g:tab

          /g:TabLayoutPanel

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.