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

窗口高度可调 #598

Open
4 of 5 tasks
cycle2zhou opened this issue Jul 4, 2024 · 4 comments
Open
4 of 5 tasks

窗口高度可调 #598

cycle2zhou opened this issue Jul 4, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@cycle2zhou
Copy link

请先确认以下事项

  • 已仔细阅读了 README
  • issues 页面搜索过(包括已关闭的 issue),未发现类似功能建议
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

功能描述

目前窗口高度不能调整,而且一翻译瞬间变高,很突兀

使用场景

主窗口

实现方案(可选)

No response

是否愿意提交 PR 实现该功能

  • 我愿意提交 PR
@cycle2zhou cycle2zhou added the enhancement New feature or request label Jul 4, 2024
Copy link

github-actions bot commented Jul 4, 2024

Hello cycle2zhou, Thank you for your first issue contribution 🎉

@tisfeng
Copy link
Owner

tisfeng commented Jul 4, 2024

窗口高度不能调整

这是 feature 设计,窗口高度是由每个服务翻译结果计算而来的。

一翻译瞬间变高,很突兀

这个具体是什么问题?请提供一下录屏。

窗口高度变化应该是有动画效果的,只是目前代码实现不是很好,有时会出现卡顿,这是已知问题 😥

@cycle2zhou
Copy link
Author

就跟视频上看到的一样,习惯了常驻主窗口模式,然后工作一般会打开很多窗口,当使用翻译时高度一下就变最高;首先很突兀,其次变大后会挡住很多其他内容,并且没办法缩小。

2024-07-05.09.44.39.mov

@tisfeng
Copy link
Owner

tisfeng commented Jul 5, 2024

明白了,我考虑一下是否添加一个限制窗口最大高度的选项,比如 50%,80%,100% 这样。

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

No branches or pull requests

2 participants