# Black bar on top and left of chromium browser

**URL:** <https://forums.balena.io/t/black-bar-on-top-and-left-of-chromium-browser/151288>\
**Category:** balenaOS\
**Created:** [July 7, 2020, 6:46am UTC](https://forums.balena.io/t/black-bar-on-top-and-left-of-chromium-browser/151288 "2020-07-07T06:46:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PatrickEntabeni](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@PatrickEntabeni](https://forums.balena.io/u/PatrickEntabeni)\
**Post date:** [July 7, 2020, 6:46am UTC](https://forums.balena.io/t/black-bar-on-top-and-left-of-chromium-browser/151288/1 "2020-07-07T06:46:32Z")

</div>

Hello,

I am experiencing an issue with a small margin appearing on the top and left of my 1920x1080 touch screen, I am using a Pi4 with the balenaDash repo, It is causing a small portion of my screen to not be visible in the bottom and right, please see attached:

 ![IMG_2287](https://global.discourse-cdn.com/balena/original/2X/2/2bb080c95f787ee0d467d06c31be907fcad08d89.jpeg) ![IMG_2288](https://global.discourse-cdn.com/balena/original/2X/0/0a84bdda5552df76d743668189f68e1a54ccdac0.jpeg)

I have tried a number of combinations from [https://www.raspberrypi.org/documentation/configuration/config-txt/video.md](https://www.raspberrypi.org/documentation/configuration/config-txt/video.md)  
I tried

- Disabling/enabling overscan on the device and on my monitor
- Setting custom overscan to and left properties
- Changing the screen size
- Setting different framebuffer\_width, framebuffer\_height, max\_framebuffer\_height & max\_framebuffer\_width properties
- Setting a custom WINDOW\_SIZE variable

It seems as though the window is the correct size, there is just a margin that needs to be removed?  
Can you help in any way?

The splash screen has no border

---

<div class="post-metadata">

**Author:** ![iamsolankiamit](https://avatars.discourse-cdn.com/v4/letter/i/a88e4f/32.png) [@iamsolankiamit](https://forums.balena.io/u/iamsolankiamit)\
**Post date:** [July 7, 2020, 9:04am UTC](https://forums.balena.io/t/black-bar-on-top-and-left-of-chromium-browser/151288/6 "2020-07-07T09:04:01Z")

</div>

Hey Patrick,

We can try setting the window position of chrome to set it we’ll need to add the flag `--window-position=0,0`.  
We can override the current flags by setting `FLAGS` variable to `$KIOSK --disable-dev-shm-usage --ignore-gpu-blacklist --enable-gpu-rasterization --force-gpu-rasterization --autoplay-policy=no-user-gesture-required --user-data-dir=/usr/src/app/settings --enable-features=WebRTC-H264WithOpenH264FFmpeg --window-position=0,0`

Let us know if this works for you.

Cheers,  
Amit

---

<div class="post-metadata">

**Author:** ![PatrickEntabeni](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@PatrickEntabeni](https://forums.balena.io/u/PatrickEntabeni)\
**Post date:** [July 7, 2020, 9:20am UTC](https://forums.balena.io/t/black-bar-on-top-and-left-of-chromium-browser/151288/8 "2020-07-07T09:20:45Z")

</div>

Thanks @iamsolankiamit!!!

I cant believe I spent a whole day on this 🙈
