Community
Participate
Working Groups
It would be great to have a maximize button for the private notes section. Current workaround is to fill it with text and close and reopen the task. That makes it bigger but not maximized.
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.