Project

General

Profile

Bug #438

setobjtext界面脚本长字串变为短字串导致残留

Added by yufeng wu over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
shixun yan
Target version:
Start date:
02/27/2020
Due date:
% Done:

100%

Estimated time:
Defect version:

Description

setobjtext长字串变位短字串导致残留
举例:
对界面文字图元,先运行setobjtext("1234567890"),刷新了对象10字符长度区域
再运行setobjtext("123"),仅刷新了3字符长度区域
导致10-3=7个字符背景残留不刷新
当前有何变通的方案消除此现象


Files

History

#1

Updated by yufeng wu over 4 years ago

黑体,小四
使用setobjtext("五个以上中文字")显示不全,仅能显示9个字符

#2

Updated by yufeng wu over 4 years ago

现象修正注释:‘粗体’会导致最后一个字显示不全丢失,‘常规’显示正常,但字串长度缩短后残留不刷新问题一直存在

#3

Updated by xiangyang li over 4 years ago

  • Assignee set to shixun yan
#4

Updated by shixun yan over 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#5

Updated by xiangyang li over 4 years ago

  • Status changed from Resolved to In Progress

第二个参数如果是空字符串,表示不改变原有text,只改变字体

#6

Updated by shixun yan over 4 years ago

  • Status changed from In Progress to Resolved
#7

Updated by shixun yan over 4 years ago

  • Status changed from Resolved to In Progress
#8

Updated by shixun yan over 4 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF