Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
65123b0c
D
Docs
项目概览
OpenHarmony
/
Docs
8 个月 前同步成功
通知
158
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
65123b0c
编写于
7月 31, 2023
作者:
O
openharmony_ci
提交者:
Gitee
7月 31, 2023
浏览文件
操作
浏览文件
下载
差异文件
!21417 翻译完成 21035+21129:checkbox文档修正+修改richtext文档示例代码
Merge pull request !21417 from ester.zhou/TR-21035
上级
e5b2bea0
b045e4a5
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
2 deletion
+2
-2
en/application-dev/reference/arkui-ts/ts-basic-components-richtext.md
...on-dev/reference/arkui-ts/ts-basic-components-richtext.md
+1
-1
en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md
...tion-dev/reference/arkui-ts/ts-basic-components-toggle.md
+1
-1
未找到文件。
en/application-dev/reference/arkui-ts/ts-basic-components-richtext.md
浏览文件 @
65123b0c
...
...
@@ -67,7 +67,7 @@ struct RichTextExample {
'
<h2 style="text-align: center;">h2 heading</h2>
'
+
'
<h3 style="text-align: center;">h3 heading</h3>
'
+
'
<p style="text-align: center;">Regular paragraph</p><hr/>
'
+
'
<div style="width: 500px;height: 500px;border: 1px solid;margin: 0auto;">
'
+
'
<div style="width: 500px;height: 500px;border: 1px solid;margin: 0
auto;">
'
+
'
<p style="font-size: 35px;text-align: center;font-weight: bold; color: rgb(24,78,228)">Font size: 35px; line height: 45px</p>
'
+
'
<p style="background-color: #e5e5e5;line-height: 45px;font-size: 35px;text-indent: 2em;">
'
+
'
<p>This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text.</p>
'
;
...
...
en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md
浏览文件 @
65123b0c
...
...
@@ -31,7 +31,7 @@ Since API version 9, this API is supported in ArkTS widgets.
| Name | Description |
| -------- | ---------------- |
| Checkbox | Check box type.
<br>
**NOTE**
<br>
The default value of the universal attribute
[
margin
](
ts-universal-attributes-size.md
)
is as follows:
<br>
{
<br>
top: 1
2 px,
<br>
right: 12 px,
<br>
bottom: 12 px,
<br>
left: 12
px
<br>
} |
| Checkbox | Check box type.
<br>
**NOTE**
<br>
The default value of the universal attribute
[
margin
](
ts-universal-attributes-size.md
)
is as follows:
<br>
{
<br>
top: 1
4 px,
<br>
right: 14 px,
<br>
bottom: 14 px,
<br>
left: 14
px
<br>
} |
| Button | Button type. The set string, if any, will be displayed inside the button. |
| Switch | Switch type.
<br>
**NOTE**
<br>
The default value of the universal attribute
[
margin
](
ts-universal-attributes-size.md
)
is as follows:
<br>
{
<br>
top: 6px,
<br>
right: 14px,
<br>
bottom: 6 px,
<br>
left: 14 px
<br>
} |
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录