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
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue