You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
align to horizontal_alignment, valign to vertical_alignment, related
This commit is contained in:
@@ -2312,7 +2312,7 @@ GraphEdit::GraphEdit() {
|
||||
zoom_hb->add_child(zoom_label);
|
||||
zoom_label->set_visible(false);
|
||||
zoom_label->set_v_size_flags(Control::SIZE_SHRINK_CENTER);
|
||||
zoom_label->set_align(Label::ALIGN_CENTER);
|
||||
zoom_label->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
|
||||
zoom_label->set_custom_minimum_size(Size2(48, 0));
|
||||
_update_zoom_label();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user