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.

    MMM-FlightsAbove - Display all flights in the sky above you

    Scheduled Pinned Locked Moved Transport
    20 Posts 8 Posters 10.2k Views 8 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
      Richard238
      last edited by Richard238

      I’ve set Max Entries to 10, but I get loads of entries, why? Seems OK after a PM2 stop/start!
      How do I get rid of the scroll bars?
      How do I lose the footer/key? (I tried footerLegend: false in MMM-tabulator.js)

      My config.js:

      		{
      			module: 'MMM-FlightsAbove',
      			header: 'Flights Above',
      			position: 'top_center',
      			config: {
      				header: "Flights Above",          // The module header text, if any. Use: "" to remove.
      				compassHeading: true,             // Use a compass direction (NSWE) for the of heading indicator ("45" vs "NE")
      				updateInterval: 180,              // [s] Radar scan/ping/update period in secodns [default 3 min]
      				maxItems: 10,                     // MAX Number of planes to display [default is 10]
      				homeIata: "LGW",
      				// The geographical (map) Boundary-Box (BB), from within planes will be shown are given by:
      				// the maximim Lat/Lon edges of: [N-lat, W-lon, S-lat, E-lon] - all in decimal degrees.
      				radarBBox: [51.34985,-0.49832,50.95459,0.13182], // "DPS" (Bali Airport) [default]
      				//radarLocation: "51.10741,-0.15029",     // [Lat,Lon] - The location of radar center in decimal degrees
      				//radarRadius: 90,                // [km] - The maximum distance of planes shown.
      				//watchList: "",                  // Alert or Highlight planes/flights/types on this watch list
      			}
      		}, 
      
      

      I’m not worried about the compliments module being in the way just now.
      0_1570893119855_MMMFA1.JPG

      brobergB 1 Reply Last reply Reply Quote 0
      • brobergB Offline
        broberg Project Sponsor @Richard238
        last edited by

        @Richard238 said in MMM-FlightsAbove - Display all flights in the sky above you:

        MMM-FlightsAbove

        to your custom.css add :

        .MMM-FlightsAbove.tabulator-footer {visibility: hidden;}
        .MMM-FlightsAbove {overflow: hidden;}
        
        R 1 Reply Last reply Reply Quote 0
        • R Offline
          Richard238 @broberg
          last edited by

          @broberg

          This…

          .MMM-FlightsAbove .tabulator-footer {
          	visibility: hidden;
          }
          

          …works just fine, thank you.

          .MMM-FlightsAbove {
          	width: 400px;
          	overflow: hidden;
          }
          

          Worked when I added a width figure, the horizontal scroll bar is gone.
          The vertical scroll bar however, remains.
          I tired some height: nnnpx; figures, but still the pesky vertical bar is showing.

          brobergB 1 Reply Last reply Reply Quote 0
          • brobergB Offline
            broberg Project Sponsor @Richard238
            last edited by

            @Richard238

            Then try

            #flightsabove {overflow:hidden;}
            
            1 Reply Last reply Reply Quote 0
            • R Offline
              Richard238
              last edited by

              #flightsabove {overflow:hidden;}
              
              

              Tried, but the vertical scroll bar is still there.

              1 Reply Last reply Reply Quote 0
              • R Offline
                Richard238
                last edited by

                The vertical bar is only shown on Firefox or Edge, Chrome is OK, as is Electron on the Pi itself.

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                • First post
                  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