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

鼠须管无法横向排列 #162

Closed
JaminYe opened this issue Apr 8, 2023 · 3 comments
Closed

鼠须管无法横向排列 #162

JaminYe opened this issue Apr 8, 2023 · 3 comments

Comments

@JaminYe
Copy link

JaminYe commented Apr 8, 2023

在squirrel.custom.yaml中配置

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

或者

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

均无法实现横向排列

@iDvel
Copy link
Owner

iDvel commented Apr 8, 2023

style 下的 candidate_list_layout 优先级低,会被皮肤的同名参数覆盖。
你直接把皮肤内容都复制过来,这么打补丁就行了:

patch:
  style/color_scheme: <皮肤名>
  
  preset_color_schemes:
    <皮肤名>:
      ...
      candidate_list_layout: linear
      ...

@JaminYe
Copy link
Author

JaminYe commented Apr 9, 2023

有用,就是有些繁琐,需要把内容全部复制

@JaminYe JaminYe closed this as completed Apr 9, 2023
@iDvel
Copy link
Owner

iDvel commented Apr 9, 2023

有用,就是有些繁琐,需要把内容全部复制

如果是 default..yaml 中已经有的皮肤,这样也可以:

patch:
  style/color_scheme: <皮肤名>
  preset_color_schemes/<皮肤名>/candidate_list_layout: linear

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

2 participants