ui/wpf/UIwrapper/UIwrapper/container.cpp

changeset 136
1df2fb3d079c
parent 135
b9dc9cdfa23a
child 138
d781436e2490
--- a/ui/wpf/UIwrapper/UIwrapper/container.cpp	Sun Jan 22 17:23:20 2017 +0100
+++ b/ui/wpf/UIwrapper/UIwrapper/container.cpp	Sun Jan 22 18:02:45 2017 +0100
@@ -47,6 +47,11 @@
 	ct->Layout->Vexpand = expand != 0;
 }
 
+UI_EXPORT void __stdcall UIlayout_gridwidth(gcroot<UI::Container^> *container, int width) {
+	UI::Container ^ct = *container;
+	ct->Layout->GridWidth = width;
+}
+
 UI_EXPORT void __stdcall UIlayout_newline(gcroot<UI::Container^> *container) {
 	UI::Container ^ct = *container;
 	ct->Layout->NewLine = true;

mercurial