Merge pull request #22693 from mineevgleb/fix-graphnode-title

#21661: fixed GraphNode title offset
This commit is contained in:
Rémi Verschelde 2018-10-04 13:25:25 +02:00 committed by GitHub
commit 674b2567ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1016,6 +1016,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
theme->set_constant("port_offset", "GraphNode", 14 * EDSCALE);
theme->set_constant("title_h_offset", "GraphNode", -16 * EDSCALE);
theme->set_constant("title_offset", "GraphNode", 20 * EDSCALE);
theme->set_constant("close_h_offset", "GraphNode", 20 * EDSCALE);
theme->set_constant("close_offset", "GraphNode", 20 * EDSCALE);
theme->set_constant("separation", "GraphNode", 1 * EDSCALE);