TOC pages numbers not visible off right page margin

This is similar to a Q asked here. However, the solution of editing the right tab of style Contents 1,2,… is not working for me to push the pages numbers back visible within the TOC.

I am using the default Heading 1 and Heading 2 that you see in the TOC fields. And using the default TOC level style assignment.

Switching from 0.2cm to 2cm to 20cm for right tab style has no effect.

Also I am using no page boarders with 2cm all around padding, if that makes a difference.

Thank you in advance.


Build ID: 1:6.0.3-0ubuntu1
CPU threads: 16; OS: Linux 4.15; UI render: default; VCL: gtk3;
Template: Normal.dotm

See images of the issue:
(Imgur: The magic of the Internet)

Related: tdf#116403 fixed in 6.1 - see comment 4 for explanation.

That’s been around forever. Don’t modify the Contents paragraph styles, it’s pointless. To get the tabs right, set them in the TOC dialog window, Entries tab. Those settings override the settings in the paragraph style. Click the [T] in the Structure part, then you can make changes to the tab settings. Tick Align right if it isn’t already. It seems that the tab stop position value is ignored when Right aligned is turned on.