We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb85eb2 commit a1cf044Copy full SHA for a1cf044
TabLayout/src/main/java/com/angcyo/tablayout/DslTabLayout.kt
@@ -919,7 +919,7 @@ open class DslTabLayout(
919
920
if (heightMode == MeasureSpec.AT_MOST) {
921
//wrap_content 情况下, 重新测量所有子view
922
- childHeightSpec = exactlyMeasure(childMaxHeight)
+ childHeightSpec = exactlyMeasure(max(childMaxHeight, suggestedMinimumHeight))
923
visibleChildList.forEach { childView ->
924
measureChild(childView)
925
}
0 commit comments