首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
›
RIME | 中州韻輸入法引擎
V2EX
›
中州韻
更新 0.18 后皮肤侯选高亮无法填充满整行
1
HolicXX
·
23 天前
· 348 次点击
更新之后,可能是皮肤的一些默认设置要求更改了,所有的侯选字高亮区域填充满整行的,都变成四周有留白的了,请问如何设置回来,比如之前的 win10 主题,现在变的没办法填充整行,应该怎么调整一下参数呢?
win10:
horizontal: true # true 横排,false 竖排
candidate_format: "%c %@ " # 如果是竖排建议改为 "%c\u2005%@"
font_point: 16 # 候选文字大小
label_font_point: 16 # 候选编号大小
corner_radius: 0 # 候选条圆角
border_width: 6 # 窗口左右宽度
border_height: 6 # 窗口左右高度
margin_x: 12 # 字起始距左边距离
margin_y: 12 # 字上下边距
spacing: 10 # 间距
candidate_spacing: 24 # 候选字间隔
hilite_spacing: 8 # 序号和候选字之间的间隔
hilite_padding: 12 # 候选字背景色色块高度 若想候选字背景色块无边界填充候选框,仅需其高度和候选字上下边距一致即可
round_corner: 0 # 候选字背景色块圆角幅度
line_spacing: 10 # 行间距(适用于竖排)
candidate_text_color: 0x000000 # 预选项文字颜色
comment_text_color: 0x888888 # 拼音等提示文字颜色
text_color: 0x000000 # 拼音行文字颜色
back_color: 0xffffff # 候选条背景色,24 位色值,16 进制,BGR 顺序
hilited_text_color: 0x000000 # 高亮拼音 (需要开启内嵌编码)
hilited_back_color: 0xffffff # 第一候选项背景背景色
hilited_candidate_text_color: 0xffffff # 第一候选项文字颜色
hilited_candidate_back_color: 0xcc8f29 # 候选文字背景色
hilited_comment_text_color: 0xffffff # 注解文字高亮
hilited_label_color: 0xffffff # 已选字的数字的颜色
label_color: 0x888888 # 预选栏编号颜色
2 条回复
•
2024-05-22 11:35:15 +08:00
1
HolicXX
OP
23 天前
https://imgur.com/QBavy4A
2
clementewy
8 天前
style/layout/margin_x: 0 这个设置为 0 试试。
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
2880 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms ·
UTC 12:51
·
PVG 20:51
·
LAX 05:51
·
JFK 08:51
Developed with
CodeLauncher
♥ Do have faith in what you're doing.