# How can I create a Button matrix control in SquareLine Studio?

**URL:** <http://forum.squareline.io/t/how-can-i-create-a-button-matrix-control-in-squareline-studio/2021>\
**Category:** How to\
**Tags:** release\
**Created:** [November 2, 2023, 6:32am UTC](http://forum.squareline.io/t/how-can-i-create-a-button-matrix-control-in-squareline-studio/2021 "2023-11-02T06:32:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![June6](http://forum.squareline.io/letter_avatar_proxy/v4/letter/j/8e8cbc/32.png) [@June6](http://forum.squareline.io/u/June6)\
**Post date:** [November 2, 2023, 6:32am UTC](http://forum.squareline.io/t/how-can-i-create-a-button-matrix-control-in-squareline-studio/2021/1 "2023-11-02T06:32:12Z")

</div>

### What do you want to achieve?

How can I create a Button matrix control in SquareLine Studio?

### Others

- \*\*SquareLine Studio version:_v1.3.2_
- \*\*Operating system:_Windows10_
- \*\*Target hardware:_ESP32-S3_

---

<div class="post-metadata">

**Author:** ![Rafal](http://forum.squareline.io/letter_avatar_proxy/v4/letter/r/ac91a4/32.png) [@Rafal](http://forum.squareline.io/u/Rafal)\
**Post date:** [November 2, 2023, 11:33am UTC](http://forum.squareline.io/t/how-can-i-create-a-button-matrix-control-in-squareline-studio/2021/2 "2023-11-02T11:33:48Z")

</div>

I’d recommend using the Panel widget and adding the number of buttons you want in this panel, resizing the buttons and panel to desired shape. Not exactly the perfect solution but at least will have similar functionality.

![image](http://forum.squareline.io/uploads/default/original/1X/21408ba2b44a0d1030a43afc450ceeea8404202f.png)

---

<div class="post-metadata">

**Author:** ![June6](http://forum.squareline.io/letter_avatar_proxy/v4/letter/j/8e8cbc/32.png) [@June6](http://forum.squareline.io/u/June6)\
**Post date:** [November 4, 2023, 1:35am UTC](http://forum.squareline.io/t/how-can-i-create-a-button-matrix-control-in-squareline-studio/2021/3 "2023-11-04T01:35:10Z")

</div>

Do you mean that Square currently does not support Button matrix control?

---

<div class="post-metadata">

**Author:** ![Rafal](http://forum.squareline.io/letter_avatar_proxy/v4/letter/r/ac91a4/32.png) [@Rafal](http://forum.squareline.io/u/Rafal)\
**Post date:** [November 6, 2023, 9:39am UTC](http://forum.squareline.io/t/how-can-i-create-a-button-matrix-control-in-squareline-studio/2021/4 "2023-11-06T09:39:22Z")

</div>

Looks like a lot of the features offered by LVGL library aren’t yet implemented in Squareline Studio. So in answer to your question yes button matrix control is not supported.

---

<div class="post-metadata">

**Author:** ![SquareLine\_Support](http://forum.squareline.io/user_avatar/forum.squareline.io/squareline_support/32/47_2.png) [@SquareLine\_Support](http://forum.squareline.io/u/SquareLine_Support)\
**Post date:** [November 13, 2023, 7:40am UTC](http://forum.squareline.io/t/how-can-i-create-a-button-matrix-control-in-squareline-studio/2021/5 "2023-11-13T07:40:29Z")

</div>

Hi, the LVGL button matrix is not yet a supported widget in SLS. The easiest way to create a button matrix is to activate the flex layout on the BtnMatrixPanel widget. This way, the objects in the panel widget will be arranged as you want.
