Skip to content

marginBottom has not effect in the header #2749

Open
@Kembreg1405

Description

@Kembreg1405

Describe the bug and add attachments

We created a section.
We created a header.
There is no space left below the header.
Either we are doing something wrong or the 'marginBottom' in the section has no effect.

Expected behavior

Space should be left below the section header.

Steps to reproduce

$Margin['marginBottom']=2000;
$section=$phpWord->addSection($Margin);
$theheader=$section->addHeader();

PHPWord version(s) where the bug happened

12

PHP version(s) where the bug happened

8

Priority

  • I want to crowdfund the bug fix (with @algora-io) and fund a community developer.
  • I want to pay the bug fix and fund a maintainer for that. (Contact @Progi1984)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions