mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Improvements to Label's layout options
- Added options to trim the text in case it overruns - Added more autowrap modes - Improved line breaking, which ignores trailing spaces
This commit is contained in:
parent
cb4e42155d
commit
56a8d3f30c
24 changed files with 564 additions and 43 deletions
|
@ -130,6 +130,6 @@ NodeDock::NodeDock() {
|
|||
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);
|
||||
select_a_node->set_autowrap(true);
|
||||
select_a_node->set_autowrap_mode(Label::AUTOWRAP_WORD_SMART);
|
||||
add_child(select_a_node);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue