> For the complete documentation index, see [llms.txt](https://danil-dukhovenko.gitbook.io/force/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://danil-dukhovenko.gitbook.io/force/force-scripting-api/forceeditor/guitable.md).

# GUITable

class ForceEditor.GUITable

### Description

GUI class for custom tables on the [GUIPanel](/force/force-scripting-api/forceeditor/guipanel.md). Use `GUITable::DrawXXX` to draw and specify specific unique table.

\
All this methods should be called only if one of panels called `GUIPanel.Begin()`, if not this methods will be ignored.

### Delegates

<table><thead><tr><th width="150"></th><th></th></tr></thead><tbody><tr><td><mark style="color:red;">delegate void Fn()</mark></td><td>The method delegate for <mark style="color:red;">GUITable</mark>.</td></tr></tbody></table>

### Static Methods

<table><thead><tr><th width="150"></th><th></th></tr></thead><tbody><tr><td><mark style="color:red;">DrawStretch</mark></td><td>Stretch two-columns table, all widgets here will be stretched by all two columns.</td></tr><tr><td><mark style="color:red;">DrawStretchSame</mark></td><td>Stretch two-columns table, all widgets here will be stretched by the same size after being auto-calculated from each of columns.</td></tr><tr><td><mark style="color:red;">DrawFixed</mark></td><td>Fixed two-columns table, all widgets here will be fixed by all two-columns.</td></tr><tr><td><mark style="color:red;">DrawFixedSame</mark></td><td>Fixed two-columns table, all widgets here will be by the same size after being auto-calculated.</td></tr><tr><td><mark style="color:red;">Widget</mark></td><td>Draws table widget and prepared for next.<br><br>This method will make new column on current table (e.g assume that one of <code>GUITable.DrawXXX</code> was called), on first will place name of widget as regular string, and on second all of your content that you specify in delegate '<code>fn</code>'.</td></tr><tr><td><mark style="color:red;">WidgetGroup</mark></td><td>Draw a text that marks group.<br><br>This method is almost identical to <code>GUITable.Widget</code>, it will make new column on current table (e.g assume that one of <code>GUITable.DrawXXX</code> was called), on first will place empty text and on second empty text, witch makes a little space on table.</td></tr></tbody></table>

### See Also

[GUIPanel](/force/force-scripting-api/forceeditor/guipanel.md), [GUI](/force/force-scripting-api/forceeditor/gui.md)
