Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Can not apply z index (Read 991 times)
Anna Malashkina
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 26
Joined: Sep 22nd, 2019
Can not apply z index
Dec 31st, 2019 at 1:39pm
Print Post  
I created a container order and then child nodes for it. I would like to correct their appearance using z index, but it seems their indexes in diagram.items are used as Z order (order in which the children are added to the diagram).

It it possible to set z order in this case or I should correct the order of adding?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3146
Joined: Oct 19th, 2005
Re: Can not apply z index
Reply #1 - Jan 1st, 2020 at 9:27am
Print Post  
Happy 2020!

You should be able to set Z order independently from order of adding items - call DiagramItem.setZIndex(...);

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint