Copy link to clipboard
Copied
Hi guys,
As far as I see, we can just add custom sections to the Export or Publishing Manager dialog using sectionsForTopOfDialog and sectionsForBottomOfDialog.
I just wonder do we have a chance to add sections into the LrDialogs.presentModalDialog.
Thanks in advance.
Copy link to clipboard
Copied
I'm not sure what you mean by adding sections to LrDialogs.presentModalDialog? You can add whatever controls you want to the modal dialog. The only control that is always present is the OK button (but you can change the label).
Here's an example from one of my plugins:
My plugin added everything except the Cancel and Apply buttons.
Copy link to clipboard
Copied
Hi johnrellis​
Thanks for your answer and sorry for my missing information.
I meant the below controls as "sections" ("Status" and "Plugin Author Tools" expandable and collapsible sections )
We can add these into the Export or Publishing Manager dialog but they are not a LrView control. That's why I was thinking we don't have a chance to create it. Is that correct?
Copy link to clipboard
Copied
Ah, got it. See page 34 of the Lightroom Classic CC Programmers Guide: