Gantt: Tree&Gantt Synhronization Problem [message #486582] |
Fri, 18 September 2009 06:12  |
Eclipse User |
|
|
|
Originally posted by: xsenia12.googlemail.com
Hello,
unfortunatelly still i have some difficulties with the synhronization of
the Tree with Gantt:
1) as far as i've set lockHeaderOnVerticalScroll() to true, both
verticalscrolls of the Tree and Gantt do not function correctly, because
setTopItem()method doesn't take into account the size of Header...
2) strange, but with increasing number of rows in Tree/Gant - the rows are
not at the same level (synchronized) any more, but the difference between
them is growing also
will be very gratefull for any help!
Thanks,
Ksenia
|
|
|
|
Re: Gantt: Tree&Gantt Synhronization Problem [message #486748 is a reply to message #486645] |
Fri, 18 September 2009 17:51  |
Eclipse User |
|
|
|
Hello,
Merci beaucoup pour votre réponse! 
Yes, probably it is a kind of bug, but i have managed finally, that the rows are at the same level: instead of GanttControlParent i have used FormLayout with
formData.top = new FormAttachment(0,13);
And thank you for a good advice to use GanttTester example - it is really very helpfull
So here i try to attach some screenshots:
example 1 and example 2 are for GanttVerticalScrollBar
http://img11.imageshack.us/img11/2078/example1f.jpg
http://img11.imageshack.us/img11/1571/example2y.jpg
example 3 is for TreeVerticalScrollBar
http://img11.imageshack.us/img11/3720/example3w.jpg
so, mooving TreeVerticalScrollBar, gantt events are always at the same place
- still looking for a solution...
Best regards,
Ksenia
[Updated on: Fri, 18 September 2009 18:16] by Moderator
|
|
|
Re: Gantt: Tree&Gantt Synhronization Problem [message #598217 is a reply to message #486582] |
Fri, 18 September 2009 09:44  |
Eclipse User |
|
|
|
These could be bugs, but I have difficulties to picture the problems in
my mind, maybe screenshots can help.
You can use the GanttTester class to simulate an reproduce this
problems. It's in the gantt plugin in the CVS repository:
/cvsroot/technology
org.eclipse.swt.nebula/org.eclipse.nebula.widgets.ganttchart
Laurent Marchal.
xsenia a écrit :
> Hello,
>
> unfortunatelly still i have some difficulties with the synhronization of
> the Tree with Gantt:
> 1) as far as i've set lockHeaderOnVerticalScroll() to true, both
> verticalscrolls of the Tree and Gantt do not function correctly, because
> setTopItem()method doesn't take into account the size of Header...
>
> 2) strange, but with increasing number of rows in Tree/Gant - the rows
> are not at the same level (synchronized) any more, but the difference
> between them is growing also
>
> will be very gratefull for any help!
>
> Thanks,
> Ksenia
>
|
|
|
Re: Gantt: Tree&Gantt Synhronization Problem [message #598227 is a reply to message #486645] |
Fri, 18 September 2009 17:51  |
Eclipse User |
|
|
|
Hello,
Merci beaucoup pour votre réponse! :)
Yes, probably it is a kind of bug, but i have managed finally, that the rows are at the same level: instead of GanttControlParent i have used FormLayout with
formData.top = new FormAttachment(0,13);
And thank you for a good advice to use GanttTester example - it is really very helpfull
So here i try to attach some screenshots:
example 1 and example 2 are for GanttVerticalScrollBar
example 3 is for TreeVerticalScrollBar - still looking for a solution...
Best regards,
Ksenia
|
|
|
Powered by
FUDForum. Page generated in 0.04700 seconds