Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342250 - CTabFolder tab height pixel fault
Summary: CTabFolder tab height pixel fault
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P5 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 05:29 EDT by Andreas Hoegger CLA
Modified: 2012-02-10 17:31 EST (History)
0 users

See Also:


Attachments
screenshot (503 bytes, image/png)
2011-04-08 05:29 EDT, Andreas Hoegger CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.