• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Modifying Web-Dialog content size possible?

Scheduled Pinned Locked Moved Developers' Forum
4 Posts 2 Posters 256 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.
  • R Offline
    renderiza
    last edited by 2 Sept 2013, 19:09

    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 2 Sept 2013, 21:27

      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 2 Sept 2013, 21:39

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

        1 Reply Last reply Reply Quote 0
        • R Offline
          renderiza
          last edited by 2 Sept 2013, 22:14

          @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
          1 / 1
          • First post
            4/4
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement