X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=radiant%2Fentityinspector.cpp;h=8fd73db5d56b52d5f5d1579e01d1ac365485891f;hp=cc523adf7a8d03113492e317610bf8c12c4f2002;hb=a9e5bfdf2a458e89978ee52ebbd3711884b54b29;hpb=e175f55b5cc3a06e68e7af608c17dac548a9a31c diff --git a/radiant/entityinspector.cpp b/radiant/entityinspector.cpp index cc523adf..8fd73db5 100644 --- a/radiant/entityinspector.cpp +++ b/radiant/entityinspector.cpp @@ -1352,7 +1352,7 @@ ui::Widget EntityInspector_constructWindow( ui::Window toplevel ){ { auto text = ui::TextView(ui::New); - gtk_widget_set_size_request( text , 0, -1 ); // allow shrinking + text.dimensions(0, -1); // allow shrinking gtk_text_view_set_wrap_mode( text, GTK_WRAP_WORD ); gtk_text_view_set_editable( text, FALSE ); text.show();