ArthurHub / ArthurHub/HTML-Renderer

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

Open
#180 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
1.4k
Forks
550
Avg merge
14d 9h
Merged PRs (30d)
1

Description

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)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in a WinForms HTML Label with AutoSizeHeightOnly enabled, comparing normal text with text containing an link. Inspect how the label measures and wraps these two cases. Done means linked HTML breaks onto a new line consistently with normal text.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.