Skip to content

Commit e93ded9

Browse files
committed
refactor: make unrolled candidate view high customizable
1 parent 5149bc4 commit e93ded9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/osfans/trime/ime/candidates/unrolled/window/FlexboxUnrolledCandidateWindow.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class FlexboxUnrolledCandidateWindow(
5454
setPaddingDp(size, 0, size, 0)
5555
layoutParams =
5656
FlexboxLayoutManager
57-
.LayoutParams(wrapContent, dp(40))
57+
.LayoutParams(wrapContent, dp(theme.generalStyle.run { candidateViewHeight + commentHeight }))
5858
.apply { flexGrow = 1f }
5959
}
6060
}

0 commit comments

Comments
 (0)