Message 1 of 1
Default command dialog width
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
With the current themes the default dialog width is smaller than expected and checkboxes are barely visible
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?