AnsweredAssumed Answered

Random scroll bars in web viewer

Question asked by AlastairMcInnes on Dec 11, 2013
Latest reply on Dec 12, 2013 by AlastairMcInnes


Random scroll bars in web viewer



     We have a remotely-hosted database of bibliographic data about the books we publish. One of the controls on the layout is a web viewer which we're using to display the cover image of the book. The setup is:

     If ( not IsEmpty ( Titles::CoverImageFilename ) ; "data:text/html,<body style='border: 0; margin: 0'> 
     <img src='" & Titles::CoverImageFilename & "' style='width:100%; height:100%;' />" ; "about:blank" )
     Which picks up the value of the filename from the CoverImageFilename field of the database. None of the checkboxes on the WebViewer setup dialog are ticked - so no interaction with the content, no display in Find mode, no progress bar, and no status messages. The images are set to fill the web viewer exactly.
     Now, recently, some users have reported that the images are shown with scroll bars in the Web Viewer control. This doesn't happen for all users, even though we're all referring to the same data.
     One affected machine has Firefox as its default browser, another has Chrome.
     One user tells me that the scroll bars only appear when he increases the magnification to 150%. At 100%, the image fits the viewer and has no scroll bars.
     Does anyone have any ideas why this might have started happening, and how to stop it?