Donut: the small caption line is cut off in every language
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 1/100
調査の方向性
The issue describes the Donut toolbar caption and preset chip clipping, and names DonutMenu.MakeCaption, ToolbarPage.axaml, DonutLabelPlacementTests, and the RenderTests screenshots. Start by reviewing the ready branch's three-file change and the named tests. Done when captions wrap where there is room, preset chips show an ellipsis at the palette edge, and the relevant tests pass; a fix is already prepared on a branch.
索引モデルが issue の本文から書いたものです。
説明
On the image donut (Settings → Donut toolbar, profile "Images"), the slice "Half size" shows its caption as
"Same for…" instead of "Same format". The same happens in Spanish ("Mismo for…") and Portuguese
("Mesmo fo…"): the caption line gets the slice's width and a single line, about 8 characters on that small donut.
Expected: the caption wraps to a second line where the slice is deep enough, like the slice name does.
Seen in the page-toolbar-*.png screenshots of RenderTests (en, es, pt-BR).
Related: in the "Available presets" list on the same page, a chip wider than the palette is cut at its edge
(with the French translation of #359: "Retourner horizontalement · Inch…").
A fix is ready
Branch devohmycode:fix/donut-caption-wrap, one commit, 3 files:
DonutMenu.MakeCaption: the caption takes two lines whenlabel.Height + 28 < maxHeight, otherwise one as before.
After the change "Same format", "Mismo formato", "Mesmo formato" and "Ten sam format" all show in full on the
Donut toolbar page.ToolbarPage.axaml: the palette chip is aDockPanelwithTextTrimming="CharacterEllipsis", so a chip wider
than the palette ends in "…" instead of being cut at the edge. This part is not checked on a screenshot: the
English chips are not wide enough to show it.DonutLabelPlacementTests: a test that a wide caption wraps where there is room and stays on one line otherwise.
RenderTests, DonutFlipTests, DonutLabelPlacementTests and the toolbar tests pass locally (329 tests).
I can open a pull request from this branch if you'd like.
- 主要言語
- C#
- スター
- 3.6k
- フォーク
- 192
- 平均マージ
- 7時間 3分
- マージ済み PR(30日)
- 244
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
KnifeLemon/Filee のほかの issue
-
[Bug] Interactive toggle inside Theme preview card is completely unresponsive in Settings対応中かも @Saad-elnagar が 3 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
KnifeLemon/Filee#363 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Format]: .fcpxmlオープンformats
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
KnifeLemon/Filee#588 ·
メンテナーはふだん 1 日以内に返信
-
[Format]: .kgmaオープンformats
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
KnifeLemon/Filee#587 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
KnifeLemon/Filee#586 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
KnifeLemon/Filee#585 ·
メンテナーはふだん 1 日以内に返信
KnifeLemon/Filee の issue をすべて見る
似ている issue
-
area:jobads-cv BE P3
難易度 1/5 1〜3時間 初心者へのやさしさ 74/100
klasolsson81/jobbliggaren#2240 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
k2-fsa/sherpa-onnx#4100 ·
メンテナーはふだん 2 日以内に返信
-
:watch: Not Triaged
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
unoplatform/uno.check#591 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
weaviate/csharp-client#378 ·