Menu

Diff of /trunk/Src/FmActiveTextPreviewDlg.pas [r3171] .. [r3172]  Maximize  Restore

Switch to side-by-side view

--- a/trunk/Src/FmActiveTextPreviewDlg.pas
+++ b/trunk/Src/FmActiveTextPreviewDlg.pas
@@ -233,7 +233,7 @@
       AddProperty(TCSS.OverflowProp(covAuto));
       AddProperty(TCSS.WidthProp(cluAuto, 0));
       // Use height instead of maxheight if IE 6 or lower
-      if TOSInfo.BrowserVer > 6 then
+      if TIEInfo.SupportsCSSMaxHeight then
         AddProperty(TCSS.MaxHeightProp(MaxHTMLHeight))
       else
         AddProperty(TCSS.HeightProp(MaxHTMLHeight));
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.