mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Replace GUI anchor type by a float between 0 and 1
This commit is contained in:
parent
9575dbdf78
commit
0d35d4d53b
27 changed files with 117 additions and 169 deletions
|
@ -3271,7 +3271,7 @@ VisualScriptEditor::VisualScriptEditor() {
|
|||
graph->set_area_as_parent_rect();
|
||||
|
||||
hint_text = memnew(Label);
|
||||
hint_text->set_anchor_and_margin(MARGIN_TOP, ANCHOR_END, 100);
|
||||
hint_text->set_anchor_and_margin(MARGIN_TOP, ANCHOR_END, -100);
|
||||
hint_text->set_anchor_and_margin(MARGIN_BOTTOM, ANCHOR_END, 0);
|
||||
hint_text->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, 0);
|
||||
hint_text->set_align(Label::ALIGN_CENTER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue