# How to get uniform grid lines for pentomino pattern.

**URL:** <https://forums.unrealengine.com/t/how-to-get-uniform-grid-lines-for-pentomino-pattern/2611025>\
**Category:** C++\
**Tags:** unreal-engine, grid, Widget, CPP, question\
**Created:** [July 19, 2025, 5:34pm UTC](https://forums.unrealengine.com/t/how-to-get-uniform-grid-lines-for-pentomino-pattern/2611025 "2025-07-19T17:34:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rhakatiri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rhakatiri](https://forums.unrealengine.com/u/Rhakatiri)\
**Post date:** [July 19, 2025, 5:34pm UTC](https://forums.unrealengine.com/t/how-to-get-uniform-grid-lines-for-pentomino-pattern/2611025/1 "2025-07-19T17:34:25Z")

</div>

![IMG_20250718_172928](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/a/19a3d8ce070fdcdc09b79ee554a570dc75d91523.png)

How can i generate a grid of squares like in the picture with even lines all around ( maybe a thicker outline)

when i use a image with border made darker then the squares next to each other have thicker lines than the outer line. I wanna do it with uniform grid panel. And i spawn the layout in using bool array.
