# Trouble with resizing and re-positioning the zoom conference app

**URL:** <https://devforum.zoom.us/t/trouble-with-resizing-and-re-positioning-the-zoom-conference-app/6377>\
**Category:** Electron\
**Created:** [October 22, 2019, 6:38pm UTC](https://devforum.zoom.us/t/trouble-with-resizing-and-re-positioning-the-zoom-conference-app/6377 "2019-10-22T18:38:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.lloyd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alex.lloyd/32/4884_2.png) [@alex.lloyd](https://devforum.zoom.us/u/alex.lloyd)\
**Post date:** [October 22, 2019, 6:38pm UTC](https://devforum.zoom.us/t/trouble-with-resizing-and-re-positioning-the-zoom-conference-app/6377/1 "2019-10-22T18:38:20Z")

</div>

Unable to find documentation on how to change the size and position of the Zoom meeting window.

- Trying to remove the minimize button
- Center the window
- Resize the window

**Which version?**  
Latest

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 23, 2019, 5:34am UTC](https://devforum.zoom.us/t/trouble-with-resizing-and-re-positioning-the-zoom-conference-app/6377/2 "2019-10-23T05:34:33Z")

</div>

Hi Alex,

Thanks for using Zoom SDK. Regarding your questions, please refer to the following code snippet:

```auto
/** 
      * mode: Set Float VideoPos
      * @param {String} left Float Video left pos
      * @param {String} top Float Video pos
      * @param {String} hSelfWnd SelfWnd (require hexadecimal)
      * @param {String} hParent parent window handle (require hexadecimal)
      * @return {ZoomSDKError}
      */
      MeetingConfig_SetFloatVideoPos: function (opts) {
        if (_addon) {
          let clientOpts = opts || {};
          let left = clientOpts.left || '0';
          let top = clientOpts.top || '0';
          let hSelfWnd = clientOpts.hSelfWnd || '0';
          let hParent = clientOpts.hParent || '0';
          return _addon.SetFloatVideoPos(left, top, hSelfWnd, hParent);
        }
        return ZoomSDKError.SDKERR_UNINITIALIZE;
      },

```

Currently we do not have the interface to remove the minimize button and to resize the window.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![alex.lloyd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alex.lloyd/32/4884_2.png) [@alex.lloyd](https://devforum.zoom.us/u/alex.lloyd)\
**Post date:** [October 23, 2019, 12:06pm UTC](https://devforum.zoom.us/t/trouble-with-resizing-and-re-positioning-the-zoom-conference-app/6377/3 "2019-10-23T12:06:40Z")

</div>

Hey Carson,

Thank you for the reply & information! I tried editing that section of code, but the main window is still appearing in the same place.

Is there something that I’m missing here?

> mode: Set Float VideoPos  
> \* @param {String} hSelfWnd SelfWnd (require hexadecimal)  
> \* @param {String} hParent parent window handle (require hexadecimal)  
> \* @param {String} left Float Video left pos  
> \* @param {String} top Float Video pos  
> \* @return {ZoomSDKError}  
> \*/  
> MeetingConfig\_SetFloatVideoPos: function(opts) {  
> console.log(“meetingconfig\_setfloatVideopos RAN”);  
> if (\_addon) {  
> let clientOpts = opts || {};  
> let hSelfWnd = “900”;  
> let hParent = “900”;  
> let left = “900”;  
> let top = “900”;  
> return \_addon.SetFloatVideoPos(hSelfWnd, hParent, left, top);  
> }  
> return ZoomSDKError.SDKERR\_UNINITIALIZE;  
> }

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 24, 2019, 5:18am UTC](https://devforum.zoom.us/t/trouble-with-resizing-and-re-positioning-the-zoom-conference-app/6377/4 "2019-10-24T05:18:56Z")

</div>

Hi Alex,

Thanks for the reply. The code snippet is the method that needs to be called. We have the a sample usage in our demo:[https://github.com/zoom/zoom-sdk-electron/blob/master/demo/main.js#L1159](https://github.com/zoom/zoom-sdk-electron/blob/master/demo/main.js#L1159)

```auto
setFloatVideoPos: function() {
    let opts = {
      left: '10',
      top: '10'
    }
    let ret = zoomconfiguration.MeetingConfig_SetFloatVideoPos(opts);
    console.log('SetFloatVideoPos', ret);
  },

```

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:01pm UTC](https://devforum.zoom.us/t/trouble-with-resizing-and-re-positioning-the-zoom-conference-app/6377/5 "2020-08-21T19:01:11Z")

</div>

Closed on August 21, 2020, 7:01pm UTC


