diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2019-10-14 18:51:07 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2019-10-16 09:57:44 +0200 |
commit | 8df330bacd61529d7d985ac0a038205cdc94b064 (patch) | |
tree | 9acfd26937f698cc51fde9df9cef21a6523b4ead /editor | |
parent | 26bbb26738ec94d2f74ad866b79e5f44ca62ca75 (diff) |
Allow Label autowrap to cut words when they exceed line width
Fixes #30832
Diffstat (limited to 'editor')
-rw-r--r-- | editor/node_dock.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/node_dock.cpp b/editor/node_dock.cpp index d6df3bd369..7ba1796600 100644 --- a/editor/node_dock.cpp +++ b/editor/node_dock.cpp @@ -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); |