Hi @Doc Maik ,
what exactly do you mean with "to align the pasteboards"?
Do you mean that the size of every pastebaord for every spread should be the same?
Or that all pasteboards should be aligned left or right regradless of their width?
Try the following to make all pasteboards the same size:
[1] Remove every object on the pasteboard. Especially inspect the edges of the pasteboard.
Do a Select All to see if objects are nearly off the pasteboard and determine the size of the pasteboard by their presence.
[2] Un-transform every page. Means, if a page was selected by the Page tool and was transformed, like scaled, skewed or rotated, rotate, skew and scale it back to "normal". Means the document size you can see in the Document Setup dialog.
[3] If suggestion [1 to 2] do not do the job, export to the document to IDML and open the IDML file as document.
Note:
The values for horizontal and vertical margins of the pasteboard are minimum values.
This is not revealed in the GUI, but in the Document Object Model for scripting in a comment about property pasteboardMargins: https://www.indesignjs.de/extendscriptAPI/indesign-latest/#PasteboardPreference.html
The minimum values can be expanded for a particular spread's pasteboard if you add additional pages to a spread. A maximum of 10 pages per spread is possible. Also the values can be expanded if you change the size of a page with the Page tool. Or perhaps if you move/duplicate whole spreads from one document to another. Also if you do alternate layouts with different page sizes or page scaling. Oh. And you could move around pages with the Page tool. That would also change the area and "position" of the pasteboard of a particular spread.
To answer your question:
You cannot align different pasteboards directly, because you cannot select the pasteboards and use the Align panel to align your selection. What you can try is to select all pages with the Page tool and use the Align panel to align the selected pages. To select all pages, switch to the Page tool and do the keyboard shortcut for Select All.
But this Align panel trick will not work in your case, I think.
Your screenshot is already showing all pages aligned.
Regards,
Uwe Laubender
( Adobe Community Professional )