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

Fix LineEdit minimum width

-Changed theme setting name to make more sense of what it does
-Reduced amount of minimum characters, so minimum size is smaller.
This commit is contained in:
reduz
2021-02-12 11:05:10 -03:00
committed by Juan Linietsky
parent 5e528f3550
commit 28537d8c84
6 changed files with 8 additions and 8 deletions

View File

@@ -1172,7 +1172,7 @@ GridMapEditor::GridMapEditor(EditorNode *p_editor) {
floor->set_min(-32767);
floor->set_max(32767);
floor->set_step(1);
floor->get_line_edit()->add_theme_constant_override("minimum_spaces", 16);
floor->get_line_edit()->add_theme_constant_override("minimum_character_width", 16);
spatial_editor_hb->add_child(floor);
floor->connect("value_changed", callable_mp(this, &GridMapEditor::_floor_changed));