aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/canvas_item_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-04-19 16:46:52 -0300
committerJuan Linietsky2014-04-19 16:46:52 -0300
commita4c1fa12a54df2fe332db2ab08a03c844e4dcc93 (patch)
tree0e3fa1b801c174b1e56d81d2744be05361fbcd46 /tools/editor/plugins/canvas_item_editor_plugin.cpp
parent0360b454a432dc851cc1c5b0c365049ebafcec46 (diff)
downloadgodot-a4c1fa12a54df2fe332db2ab08a03c844e4dcc93.tar.gz
godot-a4c1fa12a54df2fe332db2ab08a03c844e4dcc93.tar.zst
godot-a4c1fa12a54df2fe332db2ab08a03c844e4dcc93.zip
heck
Diffstat (limited to 'tools/editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/canvas_item_editor_plugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/plugins/canvas_item_editor_plugin.cpp b/tools/editor/plugins/canvas_item_editor_plugin.cpp
index 74c1d0d82..1a365d7f3 100644
--- a/tools/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/tools/editor/plugins/canvas_item_editor_plugin.cpp
@@ -2142,18 +2142,22 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
hb->add_child(lock_button);
lock_button->connect("pressed",this,"_popup_callback",varray(LOCK_SELECTED));
+ lock_button->set_tooltip("Lock the selected object in-place (can't be moved).");
unlock_button = memnew( ToolButton );
hb->add_child(unlock_button);
unlock_button->connect("pressed",this,"_popup_callback",varray(UNLOCK_SELECTED));
+ unlock_button->set_tooltip("Unlock the selected object (can be moved).");
group_button = memnew( ToolButton );
hb->add_child(group_button);
group_button->connect("pressed",this,"_popup_callback",varray(GROUP_SELECTED));
+ group_button->set_tooltip("Makes sure the object's' children are not selectable.");
ungroup_button = memnew( ToolButton );
hb->add_child(ungroup_button);
ungroup_button->connect("pressed",this,"_popup_callback",varray(UNGROUP_SELECTED));
+ ungroup_button->set_tooltip("Restores the object's' children ability to be selected.");
hb->add_child(memnew(VSeparator));