diff options
| author | Juan Linietsky | 2015-06-14 02:13:47 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-06-14 02:13:47 -0300 |
| commit | 8228fea02feabbfdd4def950e67f9ea6507d981d (patch) | |
| tree | 95ccefb9330b693e44f20bddfbf8a6544ad34341 /bin/tests/test_gui.cpp | |
| parent | edf1f271180a8e2481ebb3d7808f47493e5ad13e (diff) | |
| download | godot-8228fea02feabbfdd4def950e67f9ea6507d981d.tar.gz godot-8228fea02feabbfdd4def950e67f9ea6507d981d.tar.zst godot-8228fea02feabbfdd4def950e67f9ea6507d981d.zip | |
Diffstat (limited to 'bin/tests/test_gui.cpp')
| -rw-r--r-- | bin/tests/test_gui.cpp | 3 |
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 ); |
