# YouTubeMovie: Width, Height and Locking are ignored by Xojo

**URL:** <https://forum.xojo.com/t/youtubemovie-width-height-and-locking-are-ignored-by-xojo/28173>\
**Category:** Web\
**Created:** [November 19, 2015, 12:28pm UTC](https://forum.xojo.com/t/youtubemovie-width-height-and-locking-are-ignored-by-xojo/28173 "2015-11-19T12:28:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Mueller](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/9de0a6/32.png) [@Thomas\_Mueller](https://forum.xojo.com/u/Thomas_Mueller)\
**Post date:** [November 19, 2015, 12:28pm UTC](https://forum.xojo.com/t/youtubemovie-width-height-and-locking-are-ignored-by-xojo/28173/1 "2015-11-19T12:28:55Z")

</div>

I have a XOJO WebApp.

I made a new WebPage, include the “YouTubeMovie” - control, and the URL.

When I test the WebPage, the YouTubeMovie-Control didn’t have the size I made in width & height.

Even when I using the Locking-Controls, the YouTubeMovie-Control ignore it.

Which is the correct why to change the sizes of this control? How can I center it? And how can I locking it, so it will “grow” when the Website will resize from the user.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 6:03pm UTC](https://forum.xojo.com/t/youtubemovie-width-height-and-locking-are-ignored-by-xojo/28173/2 "2020-10-29T18:03:57Z")

</div>


