ArthurHub / ArthurHub/HTML-Renderer
Linux/Mono image from code has the incorrect size till window resize (without styles nor "width" attribute in image tag)
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 550
- Avg merge
- 14d 9h
- Merged PRs (30d)
- 1
Description
Any chance to fix?
Screenshot with issue.

If I have changed app window size the images are appeared with real size.

PascalABC.NET code for
```pascal
procedure PABCHelpForm.contentPanel_ImageLoad(sender: Object; e: TheArtOfDev.HtmlRenderer.Core.Entities.HtmlImageLoadEventArgs);
begin
e.Handled := false;
//внешний ресурс
if(e.Src.StartsWith('http')) then Exit;
var uri := rootUri + fixUri(e.Src);
if(FileExists(uri)) then
begin
var img := Image.FromFile(uri);
//img
e.Attributes.Item['src'] := uri;
//e.Attributes.Item['width'] := IntToStr(img.Width);
//e.Attributes.Item['height'] := IntToStr(img.Height);
e.Callback(img);
e.Handled := true;
end;
end;
```
Html code for
```html
Анализ Кода Времени Разработки (Intellisense)
1. Подсказка по
Ctrl+пробел выводит список всех доступных имен.

2. Подсказка по Shift+пробел выводит
список всех доступных имен из текущего модуля. Также добавился комментарий ///
который позволяет связать подсказку с элементом программы (процедура, функция,
переменная)
3. Подсказка по "точке". Если после имени
была нажата точка, то выдается список его членов.

4. Подсказка параметров функций
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.