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.

How to leave blank space between widgets #745

Open

Description

@alpha-qu

Unable to leave blank space between widgets. If I specify the widgets as follows:
widget1 widget2 widget3 widget4
widget5 widget6
widget7 widget8 widget9 widget10
widget11 widget12 widget13 widget14

It will be automatically convert into this:
widget1 widget2 widget3 widget4
widget5 widget6 widget9 widget10
widget7 widget8 widget13 widget14
widget11 widget12

I mean to say that the widgets will get repositioned and push themselves so that no space is remaining in between. I don't want this feature. How to remove it?
Thanks in advance :)

Activity

  1. Diluke commented on Sep 23, 2017

    @Diluke

    You can set widgets in data-row and data-col in your dashboard file dashboards/*****.erb, like it's used in sample.

    < li data-row="1" data-col="2" data-sizex="1" data-sizey="1" \>
    

    This widget will be put in first row, and second column
    Remember to remove script (Dashing.gridsterLayout) from your dashboard if you have any, it's overwriting positions on dashboard load.

    You can change widget margins in assets/javascripts/application.coffee

    Dashing.on 'ready', ->
      Dashing.widget_margins ||= [5, 5]
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