Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改参数后也不支持横向 #174

Closed
gimguang opened this issue Apr 10, 2023 · 4 comments
Closed

修改参数后也不支持横向 #174

gimguang opened this issue Apr 10, 2023 · 4 comments

Comments

@gimguang
Copy link

gimguang commented Apr 10, 2023

修改text_orientation: horizontal后也不支持横向。

style:
  # 选择皮肤,亮色与暗色主题
  color_scheme: purity_of_form_custom
  color_scheme_dark: purity_of_form_custom

  # 预设选项:(可被皮肤覆盖;如果皮肤没写,则默认使用这些属性。)
  text_orientation: horizontal  # horizontal | vertical
  inline_preedit: true

还有build里和根目录里都有default和squirrel.yaml 那么哪个才是真正会调用的配置?
我是mac系统的

@gimguang gimguang changed the title default 修改参数后也不支持横向 Apr 10, 2023
@iDvel
Copy link
Owner

iDvel commented Apr 10, 2023

build/ 里的不用动,是根据配置自动生成的,删除后再重新部署还会重新生成。

皮肤里面的同名属性,优先级更高。你要改具体皮肤里的属性:

preset_color_schemes:
  <皮肤名>:
    ...
    candidate_list_layout: linear
    ...

@iDvel iDvel closed this as completed Apr 11, 2023
@StoneRen
Copy link

同样的问题,就是官方的默认配置

style:
  # 选择皮肤,亮色与暗色主题
  color_scheme: purity_of_form_custom
  color_scheme_dark: purity_of_form_custom

  # 预设选项。如果皮肤没写,则使用这些属性;如果皮肤写了,使用皮肤的。
  text_orientation: horizontal # horizontal | vertical
  inline_preedit: true
preset_color_schemes:
  # 对 purity_of_form 略微调整颜色,让色彩更柔和点,补全其他选项和注释
  purity_of_form_custom:
    name: "純粹的形式/Purity of Form Custom"
    author: 雨過之後、佛振
    comment_font_point: 16
    candidate_list_layout: stacked  # 候选项排列方向 stacked | linear
    text_orientation: horizontal    # 文字排列方向 horizontal | vertical

重新部署后,依然无法水平排列。

os:
mac ventura 13.3.1

image

@StoneRen
Copy link

解决方案在这里,#133

设置如下:

candidate_list_layout: linear # 候选项排列方向 stacked | linear

@reorx
Copy link

reorx commented Dec 6, 2023

所以应该在 purity_of_form_custom 主题中删除 candidate_list_layout 这一项,以便用户的 style/candidate_list_layout, style/horizontal 能够生效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants