1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Allow Label autowrap to cut words when they exceed line width

Fixes #30832
This commit is contained in:
PouleyKetchoupp
2019-10-14 18:51:07 +02:00
parent 26bbb26738
commit 8df330bacd
2 changed files with 6 additions and 0 deletions

View File

@@ -129,6 +129,7 @@ NodeDock::NodeDock() {
select_a_node = memnew(Label);
select_a_node->set_text(TTR("Select a single node to edit its signals and groups."));
select_a_node->set_custom_minimum_size(Size2(100 * EDSCALE, 0));
select_a_node->set_v_size_flags(SIZE_EXPAND_FILL);
select_a_node->set_valign(Label::VALIGN_CENTER);
select_a_node->set_align(Label::ALIGN_CENTER);