ToC formatting with right-aligned page numbers

Hi all, new to Scrivener. I tried googling an answer for my question, but couldn’t find anything.

How can I make a table of contents that has the page numbers on the right side?

When I follow the instructions for Copy Special, it just ends up putting the page numbers on the next line below the name of the chapter.

I tried attaching some photos and an example of what I’d like, but it’s not letting me embed photos.

Thanks!

That’s probably because the editor isn’t wide enough or the tab stop is too far to the right. Zoom out to give the editor more room or select all and go to Format▸Paragraph▸Tabs and Indents, select the Right tab, and adjust it. It should be less than (or equal to?) the number calculated by subtracting left and right margins from the page width set in Compile.