Default command dialog width

Default command dialog width

ltomuta
Advisor Advisor
68 Views
0 Replies
Message 1 of 1

Default command dialog width

ltomuta
Advisor
Advisor

With the current themes the default dialog width is smaller than expected and checkboxes are barely visible

ltomuta_0-1762425382952.png

Calling args.command.setDialogInitialSize(300,100) within CommandCreated fixes the problem but I don't understand how this API works.

100 or 150 for height does not seem to make a difference. The default value for height (as in 'auto')  should be 0 but both args.command.setDialogInitialSize(300,0) and args.command.setDialogInitialSize(300) throw exceptions.

Edit: Apparently the width value does not matter either. So the method should be called to trigger an 'auto' width/height compute?

0 Likes
69 Views
0 Replies
Replies (0)