Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Donut: the small caption line is cut off in every language

クローズ
#361 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@devohmycode がすでに取り組んでいます。

2026年10月22日 から。

  • #422 @devohmycode による — マージ済み

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
1/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp
領域
design, frontend

調査の方向性

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 when label.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 a DockPanel with TextTrimming="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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

KnifeLemon/Filee のほかの issue

KnifeLemon/Filee の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。