-
February 28th, 2021, 18:50 #71
- Join Date
- Nov 2011
- Posts
- 56
-
March 2nd, 2021, 21:45 #72
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,548
I don't understand the issue; so you may need to spell it out with an example.
The character list will always be in the default position when creating a new campaign. It will only remember a change in position, if you unlock and move during a session and then exit.
Regards,
JPG
-
March 3rd, 2021, 13:08 #73
- Join Date
- Nov 2011
- Posts
- 56
Code example:
Code:<panel name="characterlist"> <anchored height="85" width="40"> <left offset="85"/> <top /> </anchored> <class>characterlist</class> <dynamic /> <locked /> </panel>
-
March 3rd, 2021, 16:24 #74
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,548
I think I see what you mean. It's because the global character list script is setting the size before the initial layout is happening which locks the position to 0,0. I'll reorder some of the script calls so that the default layout is observed as defined in the panel. It should be in the next CoreRPG update.
Regards,
JPG
-
March 4th, 2021, 21:35 #75
- Join Date
- Nov 2011
- Posts
- 56
Thank you very much! And thank you for that hint with the scripts. Here is a workaround for all rulesets layering CoreRPG and need a other anchoring then 0,0.
Code:<windowclass name="characterlist" merge="join"> <script> function onInit() end function onFirstLayout() if super then if super.onInit then super.onInit(); end if super.onFirstLayout then super.onFirstLayout(); end end end </script> </windowclass>
-
March 10th, 2021, 12:17 #76
- Join Date
- Nov 2011
- Posts
- 56
Thanks for the patch in CoreRPG v2021-03-09. He is working fine. This workaround is not needed any more. Good job!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks