Changing icon order in customized control bar  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
nagoyajin
Member
 
Topic author
Posts: 22
Likes: 0 post
Liked in: 1 post
Joined: Sun Apr 19, 2009 4:25 am
Info

Changing icon order in customized control bar

by nagoyajin » Thu Nov 26, 2015 3:01 am

I've managed to make a customized control bar by modifying the Classic Control bar and replacing the icons. What I can't figure out is how to modify the order the icons are displayed within the control bar. For example I would like to make a minimal control bar with < + - > then a space after where I can add other icons, if needed. I've tried looking at the template files but I can't figure out how icon order is controlled.

no avatar
nagoyajin
Member
 
Topic author
Posts: 22
Likes: 0 post
Liked in: 1 post
Joined: Sun Apr 19, 2009 4:25 am
Info

Re: Changing icon order in customized control bar

by nagoyajin » Tue Dec 22, 2015 1:25 am

No one has any ideas how to handle this? I did see that it appears that the order of the buttons matches the order in the XML file but the move left and right functions appear to be coupled in the horizontal movement feature. Is there a way to separate these?

User avatar
bdd
Kolor Team
 
Posts: 2802
Likes: 14 posts
Liked in: 130 posts
Joined: Tue Jan 18, 2011 4:05 pm
Info

Re: Changing icon order in customized control bar

by bdd » Tue Dec 22, 2015 9:35 am

The only way to change the order of the icon, is to modify the action that builds the control bar in the xxx_skin.xml file .

The name of this action depends on the control bar you are using.

Gérald

no avatar
nagoyajin
Member
 
Topic author
Posts: 22
Likes: 0 post
Liked in: 1 post
Joined: Sun Apr 19, 2009 4:25 am
Info

Re: Changing icon order in customized control bar

by nagoyajin » Tue Dec 22, 2015 3:13 pm

The only xml file I can find is the plug_info.xml file.

User avatar
bdd
Kolor Team
 
Posts: 2802
Likes: 14 posts
Liked in: 130 posts
Joined: Tue Jan 18, 2011 4:05 pm
Info

Re: Changing icon order in customized control bar

by bdd » Tue Dec 22, 2015 5:05 pm

The xxx_skin.xml file is the file genetared by Panotour Pro in your generated tour.

xxx stands for the tour file name you set in the Build tab .
http://www.kolor.com/wiki-en/action/vie ... rtual_Tour

Gérald


Who is online

Users browsing this forum: No registered users and 4 guests