sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    Modifying Web-Dialog content size possible?

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 2 Posters 300 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • renderizaR Offline
      renderiza
      last edited by

      I ask for the SketchUp Gods to help me once again! 💚

      I want to create a plugin where I can open a web-dialog that has a giving website assigned to it (example: Youtube) and I want the content size to be smaller right out the bat without the need of pressing (ctrl -). Here is an image showing what I mean...

      Original Size;

      http://s17.postimg.org/sym9gk6bj/h_2.jpg

      But I want this size;

      http://s10.postimg.org/swzjw32op/h_1.jpg

      Thanks in advance!

      [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

      1 Reply Last reply Reply Quote 0
      • A Offline
        Aerilius
        last edited by

        Zoom level is a browser chrome feature. In Internet Explorer (non-standard):
        dialog.execute_script("document.body.style.zoom = 0.5")

        1 Reply Last reply Reply Quote 0
        • A Offline
          Aerilius
          last edited by

          Why do I reply here 😒 I'm not a god…

          1 Reply Last reply Reply Quote 0
          • renderizaR Offline
            renderiza
            last edited by

            @aerilius said:

            Why do I reply here 😒 I'm not a god…

            I am currently building a temple on your honor...at least a SketchUp model of it for sure! 😍

            Thanks!

            [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement