Skip to content

Commit

Permalink
Merge pull request #417 from xiaoxiaohuayu/master
Browse files Browse the repository at this point in the history
doc:fix #416 [graphic.elements-text.style.overflow] Description of Chinese…
  • Loading branch information
plainheart authored Aug 10, 2024
2 parents 76231bd + d8a8d72 commit a13d55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zh/option/partial/zr-graphic.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ font: 'bolder 2em "Microsoft YaHei", sans-serif'

当文本内容超出 [width](~${optionPath}.${hostName}${symbolVisit}text.style.width) 时的文本显示策略,取值:`'break'`, `'breakAll'`, `'truncate'`, `'none'`

- `'break'`: 尽可能保证完整的单词不被截断(类似 `CSS` 重的 `word-break: break-word;`)
- `'break'`: 尽可能保证完整的单词不被截断(类似 `CSS` 中的 `word-break: break-word;`)
- `'breakAll'`: 可在任意字符间断行
- `'truncate'`: 截断文本屏显示 '...',可以使用 [ellipsis](~${optionPath}.${hostName}${symbolVisit}text.style.ellipsis) 来自定义省略号的显示
- `'none'`: 不换行
Expand Down

0 comments on commit a13d55b

Please sign in to comment.