• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Is it possible to add custom sections to the LrDialogs.presentModalDialog?

New Here ,
May 28, 2019 May 28, 2019

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.

TOPICS
SDK

Views

276

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 28, 2019 May 28, 2019

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 28, 2019 May 28, 2019

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?

sections.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 28, 2019 May 28, 2019

Copy link to clipboard

Copied

LATEST

Ah, got it. See page 34 of the Lightroom Classic CC Programmers Guide:

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines