void BX24.fitWindow([Function callback])
Changes the width and height of an application frame so that it fits the frame contents.
Due to browser restrictions, the method cannot reduce the frame size. Use the following technique to set the frame size precisely:
- enclose the application in a container;
- calculate the container extent;
- set the frame size accordingly using BX24.resizeWindow.
User CommentsUser comments are not part of official documentation. Use information provided by other users in the comments at your own risk.
The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021