luadocs/content/lua.api.manual/darktable/gui/panel_set_size.md

22 lines
424 B
Markdown
Raw Normal View History

---
title: darktable.gui.panel_set_size
id: panel_set_size
weight: 100
draft: false
author: "people"
---
```
function(
panel : types.dt_ui_panel_t
size : int
)
```
Sets the size in pixels of the specified panel. This only works for the left, right, and bottom
panels.
* **panel** - _[types.dt_ui_panel_t](../../types/dt_ui_panel_t)_ - The panel to set the size of.
* **size** - _int_ - The size to set the panel to.