Increase displayed lines for newline support

This commit is contained in:
cryy
2025-04-22 20:17:25 +02:00
parent bb5c6976c0
commit 9ebd1a9cea

View File

@@ -119,7 +119,7 @@ public class VirtualKeyboardScreen extends SpruceScreen {
} }
private SpruceTextAreaWidget createBufferDisplayArea() { private SpruceTextAreaWidget createBufferDisplayArea() {
int lineCount = this.newLineSupport ? 3 : 1; int lineCount = this.newLineSupport ? 4 : 1;
int bufferX = this.width / 2 - 100; int bufferX = this.width / 2 - 100;
int bufferY = this.height / 4 - VERTICAL_SPACING * 5 - 5; int bufferY = this.height / 4 - VERTICAL_SPACING * 5 - 5;
int bufferWidth = 200; int bufferWidth = 200;