Skip to content

Commit 6d3a09b

Browse files
committed
解决选择器部分条目概率不显示的问题,感谢亮亮同学
1 parent 9e3d076 commit 6d3a09b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • library/WheelPicker/src/main/java/cn/qqtheme/framework/widget

‎library/WheelPicker/src/main/java/cn/qqtheme/framework/widget/WheelView.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ private void init(Context context) {
663663
textView.setIncludeFontPadding(false);
664664
textView.setGravity(Gravity.CENTER);
665665
textView.setTextColor(Color.BLACK);
666-
LayoutParams textParams = new LayoutParams(MATCH_PARENT, WRAP_CONTENT);
666+
LayoutParams textParams = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT);
667667
addView(textView, textParams);
668668
}
669669

0 commit comments

Comments
 (0)