HolicXX
V2EX  ›  中州韻

更新 0.18 后皮肤侯选高亮无法填充满整行

  •  1
     
  •   HolicXX · May 7, 2024 · 1743 views
    This topic created in 762 days ago, the information mentioned may be changed or developed.
    更新之后,可能是皮肤的一些默认设置要求更改了,所有的侯选字高亮区域填充满整行的,都变成四周有留白的了,请问如何设置回来,比如之前的 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 replies    2024-05-22 11:35:15 +08:00
    HolicXX
        1
    HolicXX  
    OP
       May 7, 2024
    clementewy
        2
    clementewy  
       May 22, 2024
    style/layout/margin_x: 0 这个设置为 0 试试。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3030 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 14:23 · PVG 22:23 · LAX 07:23 · JFK 10:23
    ♥ Do have faith in what you're doing.