openshot.developers team mailing list archive
-
openshot.developers team
-
Mailing list archive
-
Message #02544
Re: [Bug 499860] Re: Timeline too fat
Sure, xml.etree.ElementTree should be fine. The settings are in more
than just the clip.py file. Here is a list off the top of my head:
MainGTK.glade: heights and widths of scrolled-windows (used as the
container for the ruler, timeline, and track titles.
MainGTK.py: heights and widths of the goocanvas objects, used to draw everything
Sequences.py: code to draw the ruler
Track.py: code to draw the track backgrounds and track titles
Clip.py: code to render a clip
Transition.py: code to render a transition
Thanks,
-Jonathan
On Mon, Feb 22, 2010 at 8:52 PM, Jonathan Tan <jonathantan86@xxxxxxxxx> wrote:
> For the XML, I notice that OpenShot currently uses xml.dom.minidom for
> all its XML parsing needs. Is it OK if I use xml.etree.ElementTree? It's
> a new module that comes with Python 2.5 (and above). The version of
> Python included with Ubuntu 8.04 (which is your earliest supported
> version of Ubuntu?) is Python 2.5, so I don't think this will incur any
> additional dependencies.
>
> The advantage of ElementTree is that it has a (partial) implementation of XPath, which allows me to do
> tree.find("body/p") # (from the sample)
> rather than
> tree.getElementsByTagName("body")[0].getElementsByTagName("p")[0] # (not sure of exact API, typing this from what I remember of DOM)
>
> I'll get started anyway. Yup the current metrics are hardcoded, but it
> seems like they are all in clip.py (and the relevant files that draw the
> ruler and the whole timeline) so hopefully this won't be an
> insurmountable task.
>
>
> ** Changed in: openshot
> Assignee: (unassigned) => Jonathan Tan (yondalf)
>
> ** Changed in: openshot
> Status: New => In Progress
>
> --
> Timeline too fat
> https://bugs.launchpad.net/bugs/499860
> You received this bug notification because you are a member of OpenShot
> Developers, which is subscribed to OpenShot Video Editor.
>
> Status in OpenShot Video Editor: In Progress
>
> Bug description:
> Hi!
>
> I must say that Timeline in Openshot is really nice. But I think that is too fat. To much space between timelines, too fat time ruler.
>
> I would be very helpful, if there would be more thumbnails for each clip - user could see which part of clip is where
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openshot.developers
> Post to : openshot.developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openshot.developers
> More help : https://help.launchpad.net/ListHelp
>
--
Timeline too fat
https://bugs.launchpad.net/bugs/499860
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.
Status in OpenShot Video Editor: In Progress
Bug description:
Hi!
I must say that Timeline in Openshot is really nice. But I think that is too fat. To much space between timelines, too fat time ruler.
I would be very helpful, if there would be more thumbnails for each clip - user could see which part of clip is where
References