Glitch when updating a view containing a GanttChart [message #1052857] |
Tue, 30 April 2013 18:04 |
|
am implementing an Eclipse view which embeds the GanttChart widget. When a selection change happens in the current editor I succesfully update the chart in the view. The problem is that when the view is repainted the GanttChart may change its height (correctly). In this case however the background behaves strangely. It sometimes shows an old content (i.e. when the composite was taller) or the content of the editor. The background contents turn black when I resize the view.
It seems to relate with the view drawing but I can't see how to fix it. Plus it works fine on MacOs, I am experiencing this behavior on Windows 7.
In both cases I use a JSE1.6 with Juno
Follow me on Twitter @andreasindico
[Updated on: Thu, 02 May 2013 13:07] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Glitch when updating a view containing a GanttChart [message #1053315 is a reply to message #1053267] |
Fri, 03 May 2013 20:15 |
|
It could be but I doubt it. I think it is caused by something in W7. What are you doing when you receive the new selection? Is it possible for you to experiment a little with the buildup of the new gantt?
Could you for example:
* erase the complete gantt and rebuild it completely instead of updating.
* try the various pack and layout methods
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|