Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QMUITabSegment icon尺寸 #117

Closed
4 tasks done
focus0802 opened this issue Dec 19, 2017 · 1 comment
Closed
4 tasks done

QMUITabSegment icon尺寸 #117

focus0802 opened this issue Dec 19, 2017 · 1 comment

Comments

@focus0802
Copy link

focus0802 commented Dec 19, 2017

运行环境

  • 设备型号:如:Nexus 6
  • 设备系统版本:如 Android 5.0
  • Gradle 版本:如 2.3.0
  • QMUI Android 版本:1.x.x

具体问题描述

在使用QMUITabSegment时设置的tab的drawable icon为128x128会显示不全,我看了一下示例用的是48x48的图片,能否增加自适应分辨率或icon尺寸设置的支持

问题截图

异常日志(堆栈)

cgspine added a commit that referenced this issue Dec 20, 2017
@cgspine
Copy link
Collaborator

cgspine commented Dec 21, 2017

image
1.0.6版本已经release,可以上图的方式修改icon的bounds

@cgspine cgspine closed this as completed Dec 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants