Tencent / Tencent/tdesign-flutter
[所有组件] 1.5k、2k屏幕尺寸显示问题
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1.2k
- Forks
- 182
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 88
Description
tdesign-flutter 版本
新项目也有这个问题
重现链接
No response
重现步骤
随便使用一个tdesign_flutter中的一个组件,比如按钮组件
期望结果
考虑对每个组件使用flutter_screenutil来适配手机不同分辨率,使得不同分辨率的手机显示的组建的大小不会太大(因为组件中常常有默认尺寸)
实际结果
实际1.5k屏幕和2k屏幕的尺寸相差较大,比如按钮组件等等.
Flutter版本
3.27.1
设备与机型信息
红米k50pro(使用1.5k的时候)、1加13(使用2k的时候)
系统版本
android
补充说明
[所有组件] 1.5k、2k屏幕尺寸显示问题,2k明显大很多
### Tasks
- [ ] 还有一个问题,红米k50pro选择2400x1080,1加13选择2376x1080,正常情况这两个使用同一个组件应该不会相差还大,应该是差不多大小,但实际中差大
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a TDesign Flutter button on the listed Redmi K50 Pro and OnePlus 13 resolutions using Flutter 3.27.1, then compare the component sizing across 1.5K and 2K displays. Review how component default sizes are applied; done means the affected components have consistent perceived sizing across the reported devices and the result is verified on both resolutions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100