Page number is too narrow in Table of Contents when more than 1000 pages

Description

When the export contains more than 1000 pages, and we generate Table of Contents during pdf export, the last digit of the page number is catted.
Example:
Page x........999
Page y.......100
(the last page number should be 1000)

Environment

None

Preliminary Test Cases

None

Assignee

Daniel Marczisovszky [META-INF]

Reporter

András Németh

Labels

None

Access to limited visibility issues

None

Product platform

None

Priority

Major
Configure