# Why is my TextStim pos not in the center of window?

**URL:** <https://discourse.psychopy.org/t/why-is-my-textstim-pos-not-in-the-center-of-window/9722>\
**Category:** Coding\
**Tags:** screen\
**Created:** [November 4, 2019, 2:11pm UTC](https://discourse.psychopy.org/t/why-is-my-textstim-pos-not-in-the-center-of-window/9722 "2019-11-04T14:11:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qu1995619](https://avatars.discourse-cdn.com/v4/letter/q/e47774/32.png) [@qu1995619](https://discourse.psychopy.org/u/qu1995619)\
**Post date:** [November 4, 2019, 2:11pm UTC](https://discourse.psychopy.org/t/why-is-my-textstim-pos-not-in-the-center-of-window/9722/1 "2019-11-04T14:11:14Z")

</div>

![Psychopy_problem](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/5/1/51971c0f7765f8f8ab575e38f70739e34651b350.jpeg)

Why is my TextStim pos not in the center of window?

When I use TextStim or RatingScale function, The Text is not in the center of windows. Moreover,some of them are out of the window?

Could someone help me to solve this problem?

---

<div class="post-metadata">

**Author:** ![dvbridges](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/dvbridges/32/1918_2.png) [@dvbridges](https://discourse.psychopy.org/u/dvbridges)\
**Post date:** [November 4, 2019, 3:06pm UTC](https://discourse.psychopy.org/t/why-is-my-textstim-pos-not-in-the-center-of-window/9722/2 "2019-11-04T15:06:15Z")

</div>

This relates a change in how Pyglet positions text. You can either download and install the standalone version of PsychoPy, or downgrade your Pyglet version via command line to version 1.3.2.

> <https://github.com/psychopy/psychopy/issues/2590#issuecomment-541487191>
>
> I have tried the latest TESTING version (as in master), because I have noticed that it has gammaErrorPolicy implemented.
> However, running the...
