Make TextureRegion grid settings occupy less space, closes #12679

This commit is contained in:
Juan Linietsky 2018-11-10 08:07:44 -03:00
parent 11b2f90590
commit eb2d7228cd

View file

@ -846,7 +846,8 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) {
p->set_item_checked(0, true);
p->connect("id_pressed", this, "_set_snap_mode");
hb_grid = memnew(HBoxContainer);
hb_tools->add_child(hb_grid);
//hb_tools->add_child(hb_grid);
main_vb->add_child(hb_grid);
hb_grid->add_child(memnew(VSeparator));
hb_grid->add_child(memnew(Label(TTR("Offset:"))));