Page 1 of 1

Custom Controls in Classic Control Bar

PostPosted: Fri Jun 22, 2018 1:30 am
by nickd
I've created a custom Classic Control Bar that uses custom icons for each control. The problem is that after I save the project and close the Panotour Pro 2.5.12, I open the project and the custom controls icons revert back to Classic Control Bar icons. I then have to add my custom Classic Control Bar into the project, that shows the correct icons, and delete the old custom classic control bar. Display and Tooltips Style sections do not change back to default, only the available controls icons. This happens every time and is very annoying. Is there a way to work around this issue so that I don't have to reconfigure the custom control bar every time I open the project?

Re: Custom Controls in Classic Control Bar

PostPosted: Fri Jun 22, 2018 8:37 am
by bdd
nickd wrote:I've created a custom Classic Control Bar that uses custom icons for each control.


Did you create a new plugin or a skin for this plugin ?
http://www.kolor.com/wiki-en/action/vie ... ins_Folder

If you created a plugin, did you changed the ID inside the plug_info.xml file ?

Gérald

Re: Custom Controls in Classic Control Bar

PostPosted: Sat Jun 23, 2018 12:06 am
by nickd
The way I created the plugin is I've opened the user directory and copied the classicControlBar into the folder. I then renamed the folder classicControlBarRevised. I've replaced the default icons with my own icons and went into plug_info.sml and replaced the "name". Do I need to create a new plugin id? Currently I use the same name controlBar_classic. There is also a theme2.tmpl file which I don't remember if I made any changes to this file.
The toolbar works correctly except for the loss of custom icons when opening the project.

Re: Custom Controls in Classic Control Bar  [SOLVED]

PostPosted: Mon Jun 25, 2018 12:48 pm
by bdd
Yes, you should change the ID too.
Because when you open the project, we will search for the plugin with the ID storde in the project. So if 2 plugins use the same ID, it will take the first one found.
In your case, it is the one with the "old" icons.

Gérald

Re: Custom Controls in Classic Control Bar

PostPosted: Tue Jun 26, 2018 12:05 am
by nickd
That fixed it. Thank you.