Skip to content
New issue

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

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

Already on GitHub? # to your account

与LEO Yoon-Tsaw的1.0版本squirrel皮肤兼容问题 #889

Closed
char1eslu opened this issue May 29, 2024 · 12 comments
Closed

与LEO Yoon-Tsaw的1.0版本squirrel皮肤兼容问题 #889

char1eslu opened this issue May 29, 2024 · 12 comments

Comments

@char1eslu
Copy link

更新1.0版本squirrel后,皮肤显示有问题,配置文件设置候选文字为水平显示,但是不生效,依旧竖排显示。经scomper大佬排查,有个border参数不支持,大佬有空可以帮忙看看不,谢谢。
主要体现在squirrel.yaml配置中,我已经用squirrel.custom.yaml来自定义皮肤,并注释了squirrel.custom.yaml中的border参数,但是未修改rime-ice项目中的squirrel.yaml的配置,依旧无法恢复候选文字水平显示,直到我替换了scomper大佬提供的squirrel.yaml才修改成功。对比两者不同,并未注释border相关参数,遂请求大佬空了帮忙看看。
Archive.zip

@iDvel
Copy link
Owner

iDvel commented May 29, 2024

    candidate_list_layout: stacked        # 候选项排列方向 stacked(默认) | linear
    text_orientation: horizontal          # 文字排列方向 horizontal(默认) | vertical

这样才是竖排,你参考 #133 的图片。

@mirtlebot
Copy link

我测试时也发现了,同样配置(应该),从 0.18 更新到 1.0 横排变竖排了。不晓得发生了什么

@char1eslu
Copy link
Author

  candidate_list_layout: linear           # 水平排列 linear | stacked
  text_orientation: horizontal            # horizontal | vertical

嗯啊,我知道竖排和横排区别的。我是设置的横排,也想要横排来着,但是更新后就变竖排了。。。

    candidate_list_layout: stacked        # 候选项排列方向 stacked(默认) | linear
    text_orientation: horizontal          # 文字排列方向 horizontal(默认) | vertical

这样才是竖排,你参考 #133 的图片。

@mavsill
Copy link

mavsill commented May 30, 2024

我也是,变成竖排了,替换成squirrel.scomper.yaml才横排……

@closure11
Copy link

鼠须管1.0.0版本style/horizontal和皮肤里的horizontal属性已经过时了,想要横排就在squirrel.custom.yaml加上这两行patch:

patch:
  style/candidate_list_layout: linear
  style/text_orientation: horizontal

@BenjaminX
Copy link

UI 設置【敬請留意】
style/candidate_format 格式修改爲 "[label]. [candidate] [comment]",原格式仍能使用,但建議遷移至更靈活、直觀的新格式
style/horizontal 將徹底移除,雖然本版程序仍支持,但會被新控件的默認值覆蓋
請使用 candidate_list_layout: stacked/linear 和 text_orientation: horizontal/vertical
style/label_hilited_color 已移除,請使用 style/hilited_candidate_label_color
native 配色小幅修改,減小字號,更像原生輸入法

@mirtlebot
Copy link

mirtlebot commented May 31, 2024

这两个 bug:

不知道是 feature 还是 bug

发版可能有点急,很多东西还需要测试,建议过两三周再升级。

你们关注那边的 issue 吧

@LokChunYu
Copy link

2024-05-31 13 44 11
请教下这个字体怎么弄呢?再调大?🤣,升级完懵了。哈哈哈

@BenjaminX
Copy link

可以调整大,研究了一上午,字体加载有问题。需要配置中再次指定一下字体

@LokChunYu
Copy link

发现了,是下面默认皮肤的问题,估计得等大佬们整体调整了。style中雾凇本身是没问题的。我选择没有字体的皮肤,比如Google,就没啥字体的问题了。

@BenjaminX
Copy link

BenjaminX commented May 31, 2024

SCR-20240531-nqbg-2
SCR-20240531-nqjz

再次指定一下字体,就恢复了。

@LEOYoon-Tsaw
Copy link

https://github.com/rime/squirrel/releases/tag/latest
試試 Nightly,修了三個bug,如果沒問題(除了horizontal已不支持外)準備發1.0.1

@mirtlecn mirtlecn closed this as completed Jun 1, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants