You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26: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:
@@ -1380,7 +1380,7 @@ void TextEdit::_notification(int p_what) {
|
||||
l_caret.size.y = h;
|
||||
}
|
||||
l_caret.position += Vector2(char_margin + ofs_x, ofs_y);
|
||||
l_caret.size.x = cache.font->get_char_size('m', 0, cache.font_size).x;
|
||||
l_caret.size.x = cache.font->get_char_size('M', 0, cache.font_size).x;
|
||||
|
||||
draw_rect(l_caret, cache.caret_color, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user