Hi all,
How do I change the ordering of two shapes when one is on top of the other?
(For instance: I want to move a circle which is inside another)
Thomas
Hi all,
How do I change the ordering of two shapes when one is on top of the other?
(For instance: I want to move a circle which is inside another)
Thomas
Thomas Aanensen wrote:
Hi all,
How do I change the ordering of two shapes when one is on top of the other?
(For instance: I want to move a circle which is inside another)
Try removing the shape from the diagram and then adding it again.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Try removing the shape from the diagram and then adding it again.
Yep, that does it! Although I was hoping for a "prettier" way to do it...
Thomas
> Try removing the shape from the diagram and then adding it again.
Yep, that does it! Although I was hoping for a "prettier" way to do it...
Actually, it doesn't work for the lines that connects the shapes. Tried
using RemoveLine and Add Line, but the lines still appear behind the shapes
that was created after the line.
It would probably be possible to create a new line in the event handler and
removing the old one, but that's a pretty crappy way to do it, so I hope
there's another way around the problem...
Any ideas how to solve this?
Regards,
Thomas
Thomas Aanensen wrote:
Try removing the shape from the diagram and then adding it again.
Yep, that does it! Although I was hoping for a "prettier" way to do it...
Actually, it doesn't work for the lines that connects the shapes. Tried
using RemoveLine and Add Line, but the lines still appear behind the shapes
that was created after the line.It would probably be possible to create a new line in the event handler and
removing the old one, but that's a pretty crappy way to do it, so I hope
there's another way around the problem...
Not that I know of. But then I didn't write wxOGL so anything is possible I suppose.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!