GraphiteEditor / GraphiteEditor/Graphite
Text alignment should work without an explicit max-width
オープン
Good First Issue
- 主要言語
- Rust
- スター
- 27.2k
- フォーク
- 1.3k
- 平均マージ
- 20時間 5分
- マージ済み PR(30日)
- 57
説明
Currently, the Text node's "Align" parameter (Left/Center/Right/Justify) has no effect, and left alignment occurs regardless of the setting, when the "Max Width" setting is not active. It should use its own bounding box across all rows of text as the basis for centered and right-aligned justification.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず Text node の実装と、その Align および Max Width パラメーターの処理を特定します。Max Width を無効にした場合の配置計算を追跡し、中央揃えと右揃えのテキストがすべての行で Text node の bounding box を使用することを確認します。一方、左揃えと両端揃えは意図された動作を維持することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- computer-graphics
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100