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

Bug 321435

Summary: Table header fonts too big for queries
Product: [Tools] MAT Reporter: Andrew Johnson <andrew_johnson>
Component: GUIAssignee: Project Inbox <mat.gui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Andrew Johnson CLA 2010-07-31 15:23:58 EDT
In the query wizard, some queries especially ones with an icon or file dialog button e.g. Customized Retained Set or Collection have column headers in a too large a font.

This was introduced by bug 270777 by enlarging the table font to make the table rows big enough for the icons/buttons.
Comment 1 Andrew Johnson CLA 2010-07-31 15:47:49 EDT
The fix is to use a listener on the table with SWT.MeasureItem instead of changing the font size.
Comment 2 Andrew Johnson CLA 2010-07-31 16:56:56 EDT
Fix applied to ArgumentTable (in both branch and trunk).
Comment 3 Andrew Johnson CLA 2010-07-31 16:57:43 EDT
Fixed as described - with a listener which uses the row height requested by the rows.