ArthurHub / ArthurHub/HTML-Renderer

(Winforms) HTML label will not break to a new line if it contains a link? (<a href>)

未關閉
#180 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
C#
星號
1.4k
分支
550
平均合併
14 天 9 小時
30 天內合併 PR
1

描述

Hey, i have a HTML Label inside a standard winforms Panel, and i've set the label property `AutoSizeHeightOnly` to true

This works perfectly on normal text, but when i insert a link (a href) into the label, it won't break it into a newline. See the screenshot:

![](https://i.imgur.com/20sABel.png)

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先,在啟用 AutoSizeHeightOnly 的 WinForms HTML Label 中重現問題,比較一般文字與包含 連結的文字。檢查 label 如何測量並換行這兩種情況。當包含連結的 HTML 能像一般文字一樣穩定地換到新行時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
desktop
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。