Browse Source
Merge pull request #3702 from kalutkaz/widgetMargin
Fix widget margin
pull/3707/head
Igor Kulikov
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
ui-ngx/src/app/core/services/dashboard-utils.service.ts
|
|
|
@ -422,6 +422,12 @@ export class DashboardUtilsService { |
|
|
|
widgetLayout.row = row; |
|
|
|
widgetLayout.col = 0; |
|
|
|
} |
|
|
|
|
|
|
|
widgetLayout.sizeX = Math.floor(widgetLayout.sizeX); |
|
|
|
widgetLayout.sizeY = Math.floor(widgetLayout.sizeY); |
|
|
|
widgetLayout.row = Math.floor(widgetLayout.row); |
|
|
|
widgetLayout.col = Math.floor(widgetLayout.col); |
|
|
|
|
|
|
|
layout.widgets[widget.id] = widgetLayout; |
|
|
|
} |
|
|
|
|
|
|
|
|