Log in

View Full Version : [DCCRPG] FG 3.2.2 'No Vertical Anchor Defined' Error



leozelig
January 14th, 2017, 04:31
I keep getting the following error whenever I open certain campaign records (npc, item, image), and the name does not display at the top of the record:

Ruleset Error: window: No vertical anchor defined for control (name) in windowclass (npc_header)
Ruleset Error: window: No vertical anchor defined for control (name) in windowclass (npc_header)
Ruleset Error: window: No vertical anchor defined for control (name) in windowclass (npc_header)


The layout is based on the 5E ruleset, if that helps. I have a feeling it is a simple fix, but I cannot seem to find it. If anyone knows the answer, please share! :)

leozelig
January 14th, 2017, 04:50
I figured it out - posting this in case anyone else has the same problem...

The file common/template_records.xml defined a couple of new templates for 5E. Since my layout is based on 5E, adding these resolved the errors.

damned
January 14th, 2017, 23:34
This occurs in almost libraries in almost all rulesets on upgrading to 3.2.2

Moon Wizard
January 15th, 2017, 02:42
I think I have a patch for this. Please check it out after the next beta push (hopefully tonight), and let me know if you still see the issue.

Thanks,
JPG

leozelig
January 15th, 2017, 03:02
I was able to get them to resolve by updating the template. I had to add a "rightanchor" control for spells, but it was an easy fix once I pinned down the problem file.

JamesManhattan
July 27th, 2021, 17:01
I was able to get them to resolve by updating the template. I had to add a "rightanchor" control for spells, but it was an easy fix once I pinned down the problem file.

Extremely helpful!!! Thank you!

I have an old Iron Kingdoms ruleset that kept giving me that popup error continuously. I couldn't even enter some names.

In case anyone googling out there has exact same problem.
I have the "Iron Kingdoms Redux" ruleset by Walter.

Opening up the file common/template_records.xml

right underneath the

<frame name="headerref" offset="10,3,10,3" />
add


<anchored>
<top offset="2"/>
<left offset="40" />
<right parent="rightanchor" anchor="left" relation="relative" offset="-5" />
</anchored>

fixed my problem