Community
Participate
Working Groups
Currently, the spy view lacks a way to close it via a UI decoration. It should have a little 'x' in the top right corner.
I take it for today's bugday !
Created attachment 84182 [details] Proposed patch - Adds a "close" button to the form heading of the spy dialog I'm not really sure that the "binary" GIF included in the patch will be OK ... Just tell me if something's wrong !
Benjamin, could you attach the gif file directly to the bug report. The patch framework doesn't like image files :)
Chris, since PDE Spy is your baby, I will wait for you to review this. Should not be too long to review. I did a quick test and everything seemed to be in order, good job Benjamin!
Created attachment 84194 [details] Close icon In fact, you'll easily notice it's the standard "Delete" icon (IMG_OBJ_DELETE of ISharedImages) ... IMHO, it has a pretty nice look&feel for a form close button, but I think it's better to copy/paste it into PDE icons folder just because the red cross of IMG_OBJ_DELETE can be changed in further releases, and become something like a trashcan or something like that ;-)
(In reply to comment #5) > In fact, you'll easily notice it's the standard "Delete" icon (IMG_OBJ_DELETE > of ISharedImages) ... IMHO, it has a pretty nice look&feel for a form close > button, but I think it's better to copy/paste it into PDE icons folder just > because the red cross of IMG_OBJ_DELETE can be changed in further releases, and > become something like a trashcan or something like that ;-) I don't know about that. I think it's better to just use the platform's shared images instead of copying it over unnecessarily. If it ever gets changed, it can be copied over then, but I don't really see any reason to do this now.
Created attachment 84208 [details] Adds a "close" button to the form heading of the spy dialog Uses ISharedImages.IMG_TOOL_DELETE instead of a copied icon.
Thanks for the simple and elegant patch Benjamin.
Created attachment 84257 [details] mylyn/context/zip
verified on I20071211-0010