Saturday, December 2, 2023
Home3D ModelingCTRL+MouseScroll zooming in CEF UI::HtmlDialogs - Ruby API

CTRL+MouseScroll zooming in CEF UI::HtmlDialogs – Ruby API


CTRL+MouseScroll zooming in CEF UI::HtmlDialogs

At one time, I believe again after I was fidgeting with the HtmlInputbox examples, I had gotten the CTRL+MouseScroll zooming to work inside SketchUp’s UI::HtmlDialog.

Mouse scroll zooming works outdoors SketchUp in any Chromium browser.

However now I can not get it to work inside a CEF browser dialog inside SketchUp.
I can’t bear in mind what I did to get it to work previously. (And I did look again at each JS and CSS recordsdata, however didn’t discover a clue.)

Is there some trick to this ?

FYI:

  • The dialog has scrollable and resizable set true.

  • I set the font dimension to 1em within the <html> factor and all baby components use rem for sizing the whole lot (textual content, borders, margins, widths, heights, and many others.)


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments