Bug 139190 - Name column in the Ant launch dialog is not properly sized
Summary: Name column in the Ant launch dialog is not properly sized
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M1   Edit
Assignee: Darin Swanson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-28 11:03 EDT by Pascal Rapicault CLA
Modified: 2006-08-31 17:39 EDT (History)
1 user (show)

See Also:


Attachments
Patch (3.52 KB, patch)
2006-06-19 14:41 EDT, Kevin Barnes CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2006-04-28 11:03:36 EDT
I 20060428
The name column in the targets tab of the ant script launch dialog is too small on opening (I tried on a script generated for plugin).
Comment 1 Darin Swanson CLA 2006-05-05 16:51:50 EDT
When the full fledged configuration dialog is used the targets tab has the "correct" layout.
Comment 2 Kevin Barnes CLA 2006-06-19 14:41:15 EDT
Created attachment 44852 [details]
Patch

TableLayout only sizes the columns once, when it does it the table and it's parent components have not yet been properly sized in this case. Future calls to layout() do nothing.
Added a shell listener to reset sizes when the shell is activated if the table's size is greater than 0. If the target tab is not active when opening the dialog, the table will not have a size and the listener will not have any effect.
The listener removes itself after it has be called.
Comment 3 Kevin Barnes CLA 2006-06-19 16:32:59 EDT
released patch to HEAD
Comment 4 Kevin Barnes CLA 2006-06-19 16:33:23 EDT
Darins, please verify
Comment 5 Darin Swanson CLA 2006-08-31 17:39:06 EDT
Verified.