• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

New windows, NOT full size

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 3.6k 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
    roramirez Core Contributors @mortenbirkelund
    last edited by Feb 24, 2017, 4:24 PM

    @mortenbirkelund There are options of Electron when you did run

    npm start
    

    Check out the item for electronOptions
    https://github.com/MichMich/MagicMirror/tree/develop#configuration

    Easy module development with MagicMirror Module Template

    M 2 Replies Last reply Feb 24, 2017, 4:28 PM Reply Quote 0
    • M Offline
      mortenbirkelund @broberg
      last edited by Feb 24, 2017, 4:26 PM

      @broberg As far as I could see, Iframe was not and option, due to cross-origin limitations…

      1 Reply Last reply Reply Quote 0
      • M Offline
        mortenbirkelund @roramirez
        last edited by Feb 24, 2017, 4:28 PM

        @roramirez but isnt that only for the MagicMirror window? I still want the MagicMirror window to to be fullscreen. I would just like to be able of opening a window that is not full screen.
        Or have i misunderstood the electronOptions?

        1 Reply Last reply Reply Quote 0
        • M Offline
          mortenbirkelund @roramirez
          last edited by Feb 25, 2017, 8:39 AM

          @roramirez said in New windows, NOT full size:

          Electron

          Could you please elaborate on ow i could use the Electron to open a browser window that is not full size, even though the magic Mirror browser is in full size?

          1 Reply Last reply Reply Quote 0
          • R Offline
            roramirez Core Contributors
            last edited by Feb 26, 2017, 3:28 PM

            Well, It’s something at now I dont know how figure out.

            If main Electron MagicMIrrror app is starter in FullScreen Mode, without menu bar, etc… I think is not possible -maybe yes- create a new window with these attributes and not full screen.

            Please can you check this
            https://github.com/electron/electron/blob/master/docs/api/window-open.md

            Also, by a way is necessary set the Node Integration

            Easy module development with MagicMirror Module Template

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              7/7
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy