Skip to content
This repository was archived by the owner on Mar 7, 2018. It is now read-only.
This repository was archived by the owner on Mar 7, 2018. It is now read-only.

widget size and screen size #337

Open

Description

@dav3860

Hi,
Is it possible to make the widgets size proportional to the screen size ?

Activity

  1. hicolour commented on May 7, 2014

    @hicolour

    you may extend this script to calculate size

    <script type='text/javascript'>
    $(function() {
      // These settings override the defaults set in application.coffee. You can do this on a per dashboard basis.
      Dashing.gridsterLayout('[{"col":2,"row":1},{"col":1,"row":1},{"col":3,"row":1},{"col":2,"row":2},{"col":3,"row":2},{"col":1,"row":2},{"col":5,"row":1},{"col":4,"row":2},{"col":2,"$
      Dashing.widget_base_dimensions = [370, 340]
      Dashing.numColumns = 5
    });
    </script>
    
    
  2. stefanahman commented on Sep 17, 2014

    @stefanahman

    How do you specify more columns? I'd tried Dashing.numColumns = 5 in the console, but nothing happened.

  3. terraboops commented on Feb 4, 2015

    @terraboops
    Contributor

    Duplicates #339

    Should be fixed by #420

    Please close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions