After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 300609 - Splitview in html export
Splitview in html export
Status: RESOLVED FIXED
Product: planner
Classification: Other
Component: General
0.12
Other Linux
: Normal enhancement
: 0.14
Assigned To: planner-maint
planner-maint
Depends on:
Blocks:
 
 
Reported: 2005-04-14 13:45 UTC by thorwil
Modified: 2005-04-15 21:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description thorwil 2005-04-14 13:45:02 UTC
The Gantt chart is hard to make use of in the html export, as scrolling sideways
moves the legend off screen.
It would be better to have only the timeline in a scrollable area.
Comment 1 Richard Hult 2005-04-14 21:04:36 UTC
I'm pretty sure that this is impossible to do in HTML, I've tried to do a few
different solutions that could work most of the time, but not even that looks
feasible.

The problem is that the row heights in the two areas need to be synced so each
task name row is aligned to the corresponding row in the gantt chart.

Unless someone knows any way to achieve it, I'll close this bug.
Comment 2 thorwil 2005-04-15 09:52:23 UTC
This seems to work quite well, allthough only tested with firefox. And firefox
has a bug, where when you make the window narrow enough for a h scrollbar to
appear and make it wider again, it will display v and h scrollbar. They go away
when reloading.

http://wrstud.uni-wuppertal.de/~ka0394/forum/scrolling.html

2 tables inside a table. The rows have height defined in em. Bars are defined to
be 1 ex.
Comment 3 Richard Hult 2005-04-15 11:46:36 UTC
Ah cool! Maybe there is hope :)

Feel free to try and put this change into the stylesheet. I guess we need to
tweak the gantt bar height as well to be defined in em instead of px, to make it
look nicer.

Let me know if you are going to give it a shot, otherwise I might try it.
Comment 4 thorwil 2005-04-15 12:15:01 UTC
Just looked at the xslt. Allthough i can make some sense out of it (slowly), i
lack any expereince in authoring such. As the plan I just worked out with your
nice app is quite tight, I rather not give it a shot, sorry ;-)
But thanks for your work and responsivness!
Comment 5 Richard Hult 2005-04-15 12:30:11 UTC
OK, I might take a look tonight then if I know me ;)

Thanks for the input!
Comment 6 Richard Hult 2005-04-15 21:44:31 UTC
Your example was a bit oversimplified, but I got the real code working. Thanks
for pushing me into doing it ;) It's in CVS now and will be in the next release.