forked from upstream-mirrors/quik
Set minHeight for chips editText
This commit is contained in:
@@ -58,6 +58,7 @@ class ChipsAdapter @Inject constructor(private val context: Context) : QkAdapter
|
|||||||
init {
|
init {
|
||||||
val wrap = ViewGroup.LayoutParams.WRAP_CONTENT
|
val wrap = ViewGroup.LayoutParams.WRAP_CONTENT
|
||||||
editText.layoutParams = FlexboxLayoutManager.LayoutParams(wrap, wrap).apply {
|
editText.layoutParams = FlexboxLayoutManager.LayoutParams(wrap, wrap).apply {
|
||||||
|
minHeight = 36.dpToPx(context)
|
||||||
minWidth = 56.dpToPx(context)
|
minWidth = 56.dpToPx(context)
|
||||||
flexGrow = 8f
|
flexGrow = 8f
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user