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

番号付きの候補リスト幅を少し広くする #76

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

diskshima
Copy link
Contributor

候補リストのデフォルト幅が少し狭いようだったので広くしました。

macOSの設定次第の可能性もありますので、指摘ください。
(なお、Discordのスクリーンショットでは同様に狭くなっている方もいる ようです)

Before

azookey_before

After

azookey_after

@@ -145,7 +145,7 @@ class CandidatesViewController: NSViewController {
// ウィンドウの幅を設定(番号とパディングのための追加幅を考慮)
// 20 = corner radius * 2
let windowWidth = if self.showCandidateIndex {
maxWidth + 32
maxWidth + 48
Copy link
Contributor Author

@diskshima diskshima Sep 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

変更しておいて、なのですが、数行上で利用しているフォントサイズ16を基に計算するべきな気がしますので、その方が良さそうであれば、ご指摘ください!修正します。

@ensan-hcl ensan-hcl self-requested a review September 29, 2024 16:38
@ensan-hcl ensan-hcl added the enhancement New feature or request label Sep 29, 2024
Copy link
Member

@ensan-hcl ensan-hcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

良いと思います!ありがとうございます!

@ensan-hcl ensan-hcl merged commit 49a8745 into azooKey:main Sep 29, 2024
@diskshima diskshima deleted the widen-candidate-list branch October 6, 2024 11:18
ensan-hcl added a commit that referenced this pull request Oct 6, 2024
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

Successfully merging this pull request may close these issues.

2 participants