Skip to content

Commit f8d0c7e

Browse files
author
Roberto De Ioris
committed
fixed grid panel
1 parent 6df887d commit f8d0c7e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Source/UnrealEnginePython/Private/Slate/UEPySGridPanel.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ static PyObject *py_ue_sgrid_panel_add_slot(ue_PySGridPanel *self, PyObject * ar
1919
int column;
2020
int row;
2121
int layer = 0;
22+
int foobar = 0;
23+
PyObject *py_nudge = nullptr;
2224

23-
char *kwlist[] = { (char *)"widget", (char *)"column", (char *)"row", (char *)"layer", nullptr };
24-
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "Oii|i:add_slot", kwlist, &py_content, &column, &row, &layer))
25+
char *kwlist[] = { (char *)"widget", (char *)"column", (char *)"row", (char *)"layer", (char *)"column_span", (char *)"nudge", (char *)"row_span", nullptr };
26+
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "Oii|iiOi:add_slot", kwlist, &py_content, &column, &row, &layer, &foobar, &py_nudge, &foobar))
2527
{
2628
return nullptr;
2729
}
57.5 KB
Loading

0 commit comments

Comments
 (0)