# Screen width and height are incorrect?

**URL:** https://community.thunkable.com/t/screen-width-and-height-are-incorrect/2417697
**Category:** Questions about Thunkable X
**Created:** [May 14, 2023, 12:59pm UTC](https://community.thunkable.com/t/screen-width-and-height-are-incorrect/2417697 "2023-05-14T12:59:37Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tbwiltonrtf](https://avatars.discourse-cdn.com/v4/letter/t/9fc29f/32.png) [@tbwiltonrtf](https://community.thunkable.com/u/tbwiltonrtf)
#### Post date: [May 14, 2023, 12:59pm UTC](https://community.thunkable.com/t/screen-width-and-height-are-incorrect/2417697/1 "2023-05-14T12:59:37Z")

</div>

Hi fellow thunkers!

I was trying to centre on screen a box (a group) and utilised half the screen width and height minus half the group’s dimensions. (1/2 \* screen width) - (1/2 \* group width) etc.

However, this puts the box not in the centre but too far right and down, i.e X and Y are too large.

I’ve run a little app to show me the screen width and it calculates this as 411, with the height as 825. (It’s an OPPO Find 2).

But when I gradually move the box to the true edge of the screen (to find the X and Y values) it’s reported as a width of 373 (a difference of over 38px). Similarly for the height, being over reported too.

Anyone know why Thunkable components for screen height and width are over reporting the true value?

Many thanks in advance.

---

<div class="post-metadata">

### Author: ![hacker205](https://avatars.discourse-cdn.com/v4/letter/h/edb3f5/32.png) [@hacker205](https://community.thunkable.com/u/hacker205)
#### Post date: [May 14, 2023, 4:35pm UTC](https://community.thunkable.com/t/screen-width-and-height-are-incorrect/2417697/2 "2023-05-14T16:35:14Z")

</div>

Maybe glitch try reopening

It never happened with me…

---

<div class="post-metadata">

### Author: ![tbwiltonrtf](https://avatars.discourse-cdn.com/v4/letter/t/9fc29f/32.png) [@tbwiltonrtf](https://community.thunkable.com/u/tbwiltonrtf)
#### Post date: [May 14, 2023, 4:49pm UTC](https://community.thunkable.com/t/screen-width-and-height-are-incorrect/2417697/3 "2023-05-14T16:49:56Z")

</div>

Thanks for the idea. Unfortunately it still occurs.  
Even made a new app just to check it.

---

<div class="post-metadata">

### Author: ![hacker205](https://avatars.discourse-cdn.com/v4/letter/h/edb3f5/32.png) [@hacker205](https://community.thunkable.com/u/hacker205)
#### Post date: [May 27, 2023, 4:43pm UTC](https://community.thunkable.com/t/screen-width-and-height-are-incorrect/2417697/4 "2023-05-27T16:43:04Z")

</div>

if it is so then try do perform same thing but with another feature dont use that…

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [August 25, 2023, 4:43pm UTC](https://community.thunkable.com/t/screen-width-and-height-are-incorrect/2417697/5 "2023-08-25T16:43:18Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
