# Sizing Layouts with mouse

**URL:** <https://discourse.holoviz.org/t/sizing-layouts-with-mouse/4090>\
**Category:** Panel\
**Tags:** layout\
**Created:** [August 11, 2022, 10:33am UTC](https://discourse.holoviz.org/t/sizing-layouts-with-mouse/4090 "2022-08-11T10:33:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ljilekor1](https://discourse.holoviz.org/letter_avatar_proxy/v4/letter/l/e47c2d/32.png) [@ljilekor1](https://discourse.holoviz.org/u/ljilekor1)\
**Post date:** [August 11, 2022, 10:33am UTC](https://discourse.holoviz.org/t/sizing-layouts-with-mouse/4090/1 "2022-08-11T10:33:33Z")

</div>

Hi everyone

Does Panel support sizing layouts by dragging on the borders (like in most apps)  
I probably overlooked this as I would be quite surprised if Panel doesn’t support this uber basic UI functionality… .

The GridStack seems to do this at first sight, but it behaves very weirdly compared to the basic sizing of layouts

---

<div class="post-metadata">

**Author:** ![maximlt](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/maximlt/32/2487_2.png) [@maximlt](https://discourse.holoviz.org/u/maximlt)\
**Post date:** [August 11, 2022, 10:59am UTC](https://discourse.holoviz.org/t/sizing-layouts-with-mouse/4090/2 "2022-08-11T10:59:19Z")

</div>

I believe the `GoldenLayout` template gives you that: [GoldenLayout — Panel v1.3.5](https://panel.holoviz.org/reference/templates/GoldenLayout.html#templates-gallery-goldenlayout)

> like in most apps

Are you really sure about that? This is not my experience. Of course it doesn’t mean that Panel shouldn’t get better at that 😉

---

<div class="post-metadata">

**Author:** ![ljilekor1](https://discourse.holoviz.org/letter_avatar_proxy/v4/letter/l/e47c2d/32.png) [@ljilekor1](https://discourse.holoviz.org/u/ljilekor1)\
**Post date:** [August 11, 2022, 12:13pm UTC](https://discourse.holoviz.org/t/sizing-layouts-with-mouse/4090/3 "2022-08-11T12:13:43Z")

</div>

Ok, Thanks for the quick response.

I checked the GoldenLayout.  
The sizing of the, in this case, sidebar seems to be done in separate HTML and Javascript.  
I’m used to pyqt and do not have experience with those.

Could anyone help me to get going please?

How can we make the columns and rows resize interactively (using eg the mouse) in this example.

```auto
import panel as pn
from pandas import util

pn.extension(sizing_mode = 'stretch_width')
pn.extension('tabulator')

df= util.testing.makeMixedDataFrame()
df.head()

tabel1 = pn.widgets.Tabulator(df)
tabel2 = pn.widgets.Tabulator(df)
tabel3 = pn.widgets.Tabulator(df)

view = pn.Row(pn.Card(tabel1, title='001'), pn.Column(pn.Card(tabel2, title='002'),pn.Card(tabel3,title='003')))

view.show()

```
