fix(ui): optimize TipsSlider layout margins to prevent text clipping#3150
fix(ui): optimize TipsSlider layout margins to prevent text clipping#3150add-uos wants to merge 1 commit into
Conversation
Add TextMetrics to dynamically calculate left/right margins based on text width, ensuring tips are fully visible without being clipped. 添加TextMetrics动态计算左右边距,确保提示文本完整显示不被裁剪。 Log: 修复TipsSlider文本裁剪问题 PMS: BUG-305223 Influence: 优化后所有TipsSlider组件的提示文本都能完整显示,提升用户体验。
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: add-uos The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
TAG Bot New tag: 6.1.80 |
|
TAG Bot New tag: 6.1.81 |
|
TAG Bot New tag: 6.1.82 |
|
TAG Bot New tag: 6.1.83 |
|
TAG Bot New tag: 6.1.84 |
|
TAG Bot New tag: 6.1.85 |
|
TAG Bot New tag: 6.1.86 |
|
TAG Bot New tag: 6.1.87 |
|
TAG Bot New tag: 6.1.88 |
|
TAG Bot New tag: 6.1.89 |
Add TextMetrics to dynamically calculate left/right margins based on text width, ensuring tips are fully visible without being clipped.
添加TextMetrics动态计算左右边距,确保提示文本完整显示不被裁剪。
Log: 修复TipsSlider文本裁剪问题
PMS: BUG-305223
Influence: 优化后所有TipsSlider组件的提示文本都能完整显示,提升用户体验。