From 2ec091b6123b430b2e3ba62233c88acbfb793e63 Mon Sep 17 00:00:00 2001 From: cxcn Date: Wed, 5 May 2021 02:43:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=A1=A5=E4=B8=81=20?= =?UTF-8?q?=E5=A3=B0=E7=AC=94=E7=B3=BB=E5=88=97=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\345\215\225\351\235\231+.trime.yaml" | 4 +- ...\347\263\273\345\210\227\347\240\201.yaml" | 50 +++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 "\350\241\245\344\270\201\357\274\210\347\247\273\345\210\260\344\270\212\347\272\247\347\233\256\345\275\225\347\224\237\346\225\210\357\274\211/\345\215\225\351\235\231+.patch.\345\243\260\347\254\224\347\263\273\345\210\227\347\240\201.yaml" diff --git "a/\345\215\225\351\235\231+.trime.yaml" "b/\345\215\225\351\235\231+.trime.yaml" index e9ce786..39750f5 100644 --- "a/\345\215\225\351\235\231+.trime.yaml" +++ "b/\345\215\225\351\235\231+.trime.yaml" @@ -31,6 +31,8 @@ conf: style: __include: 单静.trime:/style key_height: 61 #符号、颜文字键盘 按键高度 + __patch: + - 单静+.patch.声笔系列码:/style? fallback_colors: __include: 单静.trime:/fallback_colors @@ -39,7 +41,7 @@ preset_color_schemes: __include: 单静.trime:/preset_color_schemes preset_keyboards: - __include: danjing:/kbs + __include: danjing:/preset_keyboards default: __include: 单静.trime:/preset_keyboards/default diff --git "a/\350\241\245\344\270\201\357\274\210\347\247\273\345\210\260\344\270\212\347\272\247\347\233\256\345\275\225\347\224\237\346\225\210\357\274\211/\345\215\225\351\235\231+.patch.\345\243\260\347\254\224\347\263\273\345\210\227\347\240\201.yaml" "b/\350\241\245\344\270\201\357\274\210\347\247\273\345\210\260\344\270\212\347\272\247\347\233\256\345\275\225\347\224\237\346\225\210\357\274\211/\345\215\225\351\235\231+.patch.\345\243\260\347\254\224\347\263\273\345\210\227\347\240\201.yaml" new file mode 100644 index 0000000..1fd715e --- /dev/null +++ "b/\350\241\245\344\270\201\357\274\210\347\247\273\345\210\260\344\270\212\347\272\247\347\233\256\345\275\225\347\224\237\346\225\210\357\274\211/\345\215\225\351\235\231+.patch.\345\243\260\347\254\224\347\263\273\345\210\227\347\240\201.yaml" @@ -0,0 +1,50 @@ + +style: + # 候选区 + ## 候选 + candidate_view_height: 24 #候选区高度 + candidate_text_size: 18 #候选字号 + ## 编码 + comment_on_top: true #编码提示在上方或右侧 + comment_height: 16 #编码提示区高度 + comment_text_size: 15 #编码提示字号 + + # 悬浮窗口 + label_text_size: 16 #标签字号 + text_size: 16 #编码区字号 + + window: #悬浮窗口组件 + #- {start: "", move: 'ㄓ ', end: ""} + - { start: ' ', composition: '%s', end: ' ', letter_spacing: 0 } #letter_spacing需要>=Android5.0。TODO: 不为0时,会导致不换行的问题 + - { + start: "", + label: '%s', + candidate: '%s', + comment: '%s', + end: '', + sep: ' ', + } + layout: #悬浮窗口设置 + # 整体样式 + position: fixed #位置:left|right|left_up|right_up|fixed|bottom_left|bottom_right|top_left|top_right(left、right需要>=Android5.0) + movable: false #是否可移动窗口,或仅移动一次 true|false|once + spacing: -43 #与预编辑或边缘的距离 + margin_x: 5 #水平边距 + margin_y: 1 #竖直边距 + border: 0 #边框宽度 + round_corner: 2 #窗口圆角 + elevation: 0 #阴影(>=Android5.0) + alpha: 0xff #透明度(0-255) + #background: background.png #颜色或者backgrounds目录下的图片文件名 + # 样式 + all_phrases: false #所有满足条件的词语都显示在窗口 + min_length: 0 #最小词长 + max_length: 80 #超过字数则换行 + sticky_lines: 1 #固顶行数 + max_entries: 6 #最大词条数 + max_width: 330 #最大宽度,超过则自动换行 + max_height: 400 #最大高度 + min_width: 0 #最小宽度 + min_height: 0 #最小高度 + line_spacing: 0 #候选词的行间距(px) + line_spacing_multiplier: 1 #候选词的行间距(倍数)