ArthurHub / ArthurHub/HTML-Renderer

HtmlPanel.Size returns Zero

未关闭
#165 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
C#
星标
1.4k
派生
550
平均合并
14 天 9 小时
30 天内合并 PR
1

描述

im trying to add an HtmlPanel to a TableLayoutPanel dynamically and i set the RowStyle to AutoSize so that it will fit to the inserted HtmlPanel but it doesn't show the inserted HtmlPanel because the HtmlPanel.Size returns {Width=0, Height=0}. How can i get around this. thank you in advance

贡献指南

这个仓库没有索引到贡献指南

调研方向

Reproduce the dynamic HtmlPanel insertion in a TableLayoutPanel with RowStyle set to AutoSize, then inspect when HtmlPanel.Size is evaluated. Confirm why the size remains {Width=0, Height=0} and verify a workaround that makes the inserted panel visible and allows the row to size to it.

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。