Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wizaro
Visitor

DIalog maxHeight issues

How to make the Dialog ButtonGroup as scrollable region when the ButtonGroup height exceeds the Screen height?
The DIalog maxHeight field seems only applied to the Dialog message field.
Using maxHeight at ButtonGroup level "dialog.buttonGroup.maxHeight" doesn't work.
0 Kudos
2 REPLIES 2
RokuKC
Roku Employee
Roku Employee

Re: DIalog maxHeight issues

"wizaro" wrote:
How to make the Dialog ButtonGroup as scrollable region when the ButtonGroup height exceeds the Screen height?
The DIalog maxHeight field seems only applied to the Dialog message field.
Using maxHeight at ButtonGroup level "dialog.buttonGroup.maxHeight" doesn't work.

The Dialog class only supports scrolling for the message text, as you have stated.
There is not any support for scrolling the ButtonGroup.
0 Kudos
wizaro
Visitor

Re: DIalog maxHeight issues

"RokuKC" wrote:
"wizaro" wrote:
How to make the Dialog ButtonGroup as scrollable region when the ButtonGroup height exceeds the Screen height?
The DIalog maxHeight field seems only applied to the Dialog message field.
Using maxHeight at ButtonGroup level "dialog.buttonGroup.maxHeight" doesn't work.

The Dialog class only supports scrolling for the message text, as you have stated.
There is not any support for scrolling the ButtonGroup.

I see that currently Dialog only support list of buttons, and as you have confirmed they can not be scrollable.
Do you have any plans to add that scrolling support in the future, or add support to any other groups, like for example a LabelGroup?
In that case the DIalog can be really useful for not only a confirmation feature, but also some other functionality, like for example choosing and updating values, instead of using the keyboard dialog.

And one more question. I can make a custom group dialog component, but is there a way to make a content behind it disabled like the real dialog does? Thanks
0 Kudos