z3c.rml icon indicating copy to clipboard operation
z3c.rml copied to clipboard

Table alignment ignored when inside StoryPlace

Open legends2k opened this issue 6 months ago • 0 comments

BUG REPORT

What I did:

<story>
    <storyPlace x="2cm" y="1cm" width="17.5cm" height="9cm" origin="page">
      <blockTable alignment="center">
        <tr>
          <td>Hello</td>
          <td>World</td>
        </tr>
      </blockTable>
    </storyPlace>
</story>

What I expect to happen:

I've a story place containing a table which I want centre-aligned.

What actually happened:

The table is left-aligned. The alignment="" attribute seems to be ignored. Doing the same when the table is inside the main story works though.

What version of Python and Zope/Addons I am using:

OS: ArchLinux Python: 4.8 z3c.rml: 4.4 Addons: None

legends2k avatar Apr 21 '25 08:04 legends2k