zorba-the-geek / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

TabSet inside a TabSet not rendering border correctly in Firefox 3.0.5 (Linux) #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A TabSet placed in a Tab of another TabSet does not render correctly
background and borders in Firefox 3.0.5 in Linux.

I'm using smartgwt 1.0b2-SNAPSHOT.

Original issue reported on code.google.com by djpein...@gmail.com on 20 Jan 2009 at 8:31

GoogleCodeExporter commented 9 years ago
Please provide a standalone testcase that I can run locally.

Original comment by sanjiv.j...@gmail.com on 20 Jan 2009 at 3:36

GoogleCodeExporter commented 9 years ago
The problem appears only extending Composite and setting inner tab more than 
100px
height. Internet Explorer runs correctly.

Less than 100px height or not Composite extending causes no problem.

Original comment by djpein...@gmail.com on 21 Jan 2009 at 2:59

Attachments:

GoogleCodeExporter commented 9 years ago
Please see the revised code. Best to use Canvas as the basis of composites so 
that
the appropriate layout management takes place.

Original comment by sanjiv.j...@gmail.com on 21 Jan 2009 at 3:40

Attachments:

GoogleCodeExporter commented 9 years ago
Extending Canvas solves the problem, but it changes widget's layout, default 
height
and with of 100px ...
How can I use Canvas without affecting normal gwt layout like Composite?

Original comment by djpein...@gmail.com on 21 Jan 2009 at 4:23

GoogleCodeExporter commented 9 years ago
I'm not sure I follow your last comment. Whats wrong with the test case I 
posted? 

Original comment by sanjiv.j...@gmail.com on 22 Jan 2009 at 7:03

GoogleCodeExporter commented 9 years ago
There is nothing wrong with the test case, but I made it simple. In a real case 
I use
other gwt widgets too and when I extend them with Canvas they acquire default 
width
and height, etc. So my question was how to extend Canvas without affecting 
original
widget's layout.
Anyway I solved the problem creating a Canvas object instead of using a 
WidgetCanvas,
so I can continue extending Composite.
From now on I will use Canvas with all smartgwt widgets to avoid layout 
management
problems.
Thank you.

Original comment by djpein...@gmail.com on 22 Jan 2009 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by sanjiv.j...@gmail.com on 22 Jan 2009 at 10:12