mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +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:
parent
5e528f3550
commit
28537d8c84
6 changed files with 8 additions and 8 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue