aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/test_gui.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-06-16 16:39:20 -0300
committerJuan Linietsky2015-06-16 16:39:20 -0300
commit37af8b413674936518a2ebe180f9e7bfcd5795bb (patch)
treeda6993ed2cd087d93392c2c5542a70a078716fd2 /bin/tests/test_gui.cpp
parent669f5c994b5fe9fb870eae5db86b231202361617 (diff)
parentf2a29aadc620c2296e08ca20e926b54191c37540 (diff)
downloadgodot-37af8b413674936518a2ebe180f9e7bfcd5795bb.tar.gz
godot-37af8b413674936518a2ebe180f9e7bfcd5795bb.tar.zst
godot-37af8b413674936518a2ebe180f9e7bfcd5795bb.zip
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'bin/tests/test_gui.cpp')
-rw-r--r--bin/tests/test_gui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/tests/test_gui.cpp b/bin/tests/test_gui.cpp
index 8822febde..c40462387 100644
--- a/bin/tests/test_gui.cpp
+++ b/bin/tests/test_gui.cpp
@@ -109,6 +109,9 @@ public:
frame->set_anchor( MARGIN_RIGHT, Control::ANCHOR_END );
frame->set_anchor( MARGIN_BOTTOM, Control::ANCHOR_END );
frame->set_end( Point2(0,0) );
+
+ Ref<Theme> t = memnew( Theme );
+ frame->set_theme(t);
get_root()->add_child( frame );