Skip to main content
johnrellis
Legend
December 7, 2021

P: SDK: Nested group_box doesn't display title on Windows

  • December 7, 2021
  • 2 replies
  • 226 views

A nested viewFactory:group_box doesn't display its title on Windows but does on Mac:

 

 

 

To reproduce, run this script:

 

local LrColor = import "LrColor"
local LrDialogs = import "LrDialogs"
local LrView = import "LrView"
local f = LrView.osFactory()

LrDialogs.presentModalDialog {title = "Test", contents = f:column {
    f:group_box {title = "Outer group box",
        f:checkbox {title = "Outer checkbox"},
        f:group_box {title = "Inner group box", show_title = true,
            f:checkbox {title = "Inner checkbox"}}}}}

 

 

Tested on LR 11.0.1 / Windows 10 and Mac OS 11.6.

 

 

 

This topic has been closed for replies.

2 replies

Rikk Flohr_Photography
Community Manager
December 9, 2021

Set status - add bug number

 

Rikk Flohr: Adobe Photography Org
Walt Thirion Photography
Known Participant
December 7, 2021

I'm working on a publish service plugin and want to group various preferences in the top dialog sections using nested group_box controls.

 

It appears that I can nest a group_box control inside of another group_box control and the outlined frames appear correctly however the title for the nested group_box isn't displayed. I've tried forcing it by setting 'show_title = true' but it still doesn't work. The title on the topmost group_box is displayed.

 

Is this by design or is there an undocumented control or ...?

 

Using LR Classic v11 and SDK v11.

 

Thanks,

Walt

johnrellis
Legend
December 8, 2021

I see the same thing and posted a bug report. As (failed) workarounds, I tried various values for "font" and "size" properties.