Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-dev] push the squish?

Yes, it's all done in CustomTaskListDecorationDrawer. It works nicely on Windows but be aware that spacing and layout can differ on other platforms (and depend on the theme) which can cause problems:

 210697: [linux][mac] Go Into on Task List causes activation buttons to overlap with priority icons
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=210697

I looked for a way to control the indentation or horizontal offset on Gtk but as far as I could tell SWT does not expose that in the API.

Steffen


On Sun, Aug 14, 2011 at 11:38 PM, Wim Jongman <wimj@xxxxxxxxxxxxx> wrote:
Hi,

For the newsreader, I too want to put my icons before the squish in the tree. I have been experimenting with a side table that is positioned to the left of the main tree to contain the additional icons. It works but I am having platform issues. 

So I have been looking at how Mylyn does it. I was really convinced that you managed to push the squish of the tree so that you could put some icons before it and I searched franticly for the code that did that. 

Then I realized that Mylyn does not do that. You make the illusion that you do but you really don't. The squishes of the tree are not pushed and the first level of the tree is never decorated. By adding an icon to the first level, you create additional space for the second level tree items where the decoration does take place. 

Very cunning. Nice job.

Regards,

Wim

_______________________________________________
mylyn-dev mailing list
mylyn-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-dev




--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com

Back to the top