Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360949 - Strange Layout with TabFolder
Summary: Strange Layout with TabFolder
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 08:00 EDT by Sebastian Bauer CLA
Modified: 2011-10-15 06:26 EDT (History)
0 users

See Also:


Attachments
A minimalistic example demonstrating the problem. (1.01 KB, text/x-java)
2011-10-14 08:01 EDT, Sebastian Bauer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Bauer CLA 2011-10-14 08:00:21 EDT
Build Identifier: 

The snippet that will be attached to this bug shows a weird behavior of the TabFolder. When switching to the second tab (which contains only a Canvas), the height of the whole tab is reduced. This happens with the build from 2011/10/14 but not 2011/09/20. This also does not happen with SWT.

Reproducible: Always
Comment 1 Sebastian Bauer CLA 2011-10-14 08:01:53 EDT
Created attachment 205187 [details]
A minimalistic example demonstrating the problem.
Comment 2 Ivan Furnadjiev CLA 2011-10-15 06:26:46 EDT
Last week we switched the TabFolder to the protocol and moved all the client related logic from server (LCA) to the client adapter. In order to keep the compatibility with the controls, which are not yet switch to the protocol (like Canvas) we have to keep TabFolderLCA#adjustCoordinates and change the WidgetManager#setParent not to set the parent on controls with TabFolder as parent. Changes are in CVS HEAD.