We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
width
1 parent 10e24e2 commit e254bd3Copy full SHA for e254bd3
app/src/main/java/com/osfans/trime/ime/keyboard/Keyboard.kt
@@ -257,7 +257,7 @@ class Keyboard() {
257
var rowWidthWeight = 0f
258
for (mk in lm) {
259
val gap = this.horizontalGap
260
- val keyWidth = obtainFloat(mk, "width", keyboardKeyWidth)
+ val keyWidth = obtainFloat(mk, "width", 0f)
261
var widthPx = (keyWidth * oneWeightWidthPx).toInt()
262
if (widthPx == 0 && mk.containsKey("click")) widthPx = defaultWidth
263
widthPx -= gap
0 commit comments