Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
Detailed description of issue
How can I center the calender control in relation to the parent div instead of directly next to the DateWidget.
i.e use clicks on Date Picker, and instead of appearing next to the widget, it will appear in the center of a screen.
Thanks for contacting pdf.js express forums,
Could you please clarify what you mean by center-ing the calendar control? Can you share a screenshot of expected and the actual result?
From the screenshot below, if you are trying to center the rotation controls, then you can use instantiate them: PDFJS Express WebViewer Class: RotationControlHandle