kooloveme / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

Border vanishes after horizontal scaling to zero #208

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?
 1. Put a THTMLViewer onto a form with BorderStyle:=htSingle,
    Align:=alClient and AlignWithMargins:=TRUE.
 2. Set the THTMLViewer's margins to a LARGE value (say, 80) and
    DefBackground:=clRed.
 3. Run the program.

What is the expected output?
 - The THTMLViewer should ALWAYS display a border.

What do you see instead?
 - By default, a border is shown (fine).
 - When the window size is reduced HORIZONTALLY, so that the
   THTMLViewer vanishes, the border vanishes, too, but NEVER
   appears again, even when increasing the window size, so
   that the THTMLViewer is visible again.
 - This problem does NOT happen when the VERTICAL size of the
   THTMLViewer is reduced to zero.
 - The above steps 1 and 2 are only mentioned to reproduce the
   problem. It is independent of margin or background settings,
   and ALWAYS appears when scaling the THTMLViewer to zero
   horizontally.

Which version of the product are you using?
 - HtmlViewer113-r306

Which compiler version are you using?
 - Delphi XE2, 32bit

On which operating system?
 - Windows 7, 64bit

Original issue reported on code.google.com by weidner....@t-online.de on 25 Oct 2012 at 8:44

GoogleCodeExporter commented 9 years ago
Thanks for spotting this issue.

r383 fixes it.

The detailed explanation was very helpful!

Original comment by OrphanCat on 19 Apr 2013 at 6:02