| Summary: | add maximize button to private notes section | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Sam Davis <sam.davis> | ||||||||||||
| Component: | Mylyn | Assignee: | Sam Davis <sam.davis> | ||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||
| Severity: | enhancement | ||||||||||||||
| Priority: | P3 | CC: | steffen.pingel | ||||||||||||
| Version: | unspecified | Keywords: | bugday, contributed, helpwanted | ||||||||||||
| Target Milestone: | 3.7 | ||||||||||||||
| Hardware: | PC | ||||||||||||||
| OS: | Windows 7 | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Bug Depends on: | |||||||||||||||
| Bug Blocks: | 158921 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Sam Davis
Agreed. I am marking this as helpwanted to indicate that this would be a great enhancement to resolve through a contribution. Note bug 288171 which should provide the necessary API to make this fairly easy to implement. Created attachment 208715 [details]
patch
Created attachment 208716 [details]
mylyn/context/zip
Thanks for the patch. Looks good. Only minor nit I noticed is that the section is also enlarged when not expanded resulting in a lot of blank space in the task editor. Could fix that? Created attachment 208969 [details]
updated
Created attachment 208970 [details]
mylyn/context/zip
Sam, can you elaborate on the changes? It's not obvious to me what the purpose of layoutControl is. Have you tried using CommonFormUtil.setExpanded() to expand the section? That should trigger the expansion event. Created attachment 209105 [details]
patch
layoutControl has a GridLayout, which is needed for the maximize action to work; setting a GridData on the section client would have no effect.
Thanks for the tip about CFU; here's an updated patch that gets rid of the unnecessary listener.
Great! I have applied the patch to master. |