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

Bug 303473

Summary: [Table] Incorrect text indent if column image was visible but isn't anymore
Product: [RT] RAP Reporter: Stefan Röck <stefan.roeck>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.3 M6   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Snippet for controls demo none

Description Stefan Röck CLA 2010-02-22 06:46:41 EST
Steps:
- Create a tableItem that provides an image
- Clear the table using Table#clear()
- Create an tableItem that has no image
--> The intent of the text is too large as the image width is still used for metrics calculation
Comment 1 Stefan Röck CLA 2010-02-22 06:47:05 EST
Created attachment 159763 [details]
Snippet for controls demo
Comment 2 Rüdiger Herrmann CLA 2010-02-22 09:28:57 EST
This isn't exactly a bug. SWT behaves the same.
However, I introduced code that resets the indentation when clearAll() is called or the last item is disposed of.
Comment 3 Stefan Röck CLA 2010-02-23 03:25:35 EST
Thanks for this fix, Rüdiger.