Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342250

Summary: CTabFolder tab height pixel fault
Product: [RT] RAP Reporter: Andreas Hoegger <Andreas.Hoegger>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: ASSIGNED --- QA Contact:
Severity: minor    
Priority: P5    
Version: 1.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Andreas Hoegger CLA 2011-04-08 05:29:18 EDT
Created attachment 192804 [details]
screenshot

Having set the tab height on a CTabFolder to 0. Ends up in a pixel fault. In the UI a line of 1 px is shown where the tabs would be (see attachment).

  CTabFolder folder = new CTabFolder(parent, SWT.NONE);
  tk.adapt(folder);
  CTabItem item = new CTabItem(folder, SWT.NONE);
  item.setText("tabitem");
  folder.setSelection(item);
  folder.setTabHeight(0);

-andy
Comment 1 Ivan Furnadjiev CLA 2011-04-08 06:27:29 EDT
Reproducible with Controls Demo as well.
Comment 2 Ralf Sternberg CLA 2012-02-10 17:31:28 EST
Andy, if I recall correctly, you found a better solution to your problem, didn't you?
Since I consider this a minor issue, I'm reducing it's priority to P5. We won't work on this unless someone has a good patch.