From c152bfa8eb8e51ff96fcf563cbc3e9a149732b67 Mon Sep 17 00:00:00 2001 From: Eiko Wagenknecht Date: Mon, 26 Apr 2021 11:07:25 +0200 Subject: [PATCH] Fix height description in grid layout properties Signed-off-by: Eiko Wagenknecht --- bundles/org.openhab.ui/doc/components/oh-grid-layout.md | 2 +- .../web/src/assets/definitions/widgets/layout/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.ui/doc/components/oh-grid-layout.md b/bundles/org.openhab.ui/doc/components/oh-grid-layout.md index 0e0f08052d..58892f3378 100644 --- a/bundles/org.openhab.ui/doc/components/oh-grid-layout.md +++ b/bundles/org.openhab.ui/doc/components/oh-grid-layout.md @@ -56,7 +56,7 @@ Arranges widgets on a grid of squares with user-defined sizes - Screen width in pixels (default 720) + Screen height in pixels (default 720) diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/layout/index.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/layout/index.js index 3183b3a699..992c16d3d0 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/layout/index.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/layout/index.js @@ -54,7 +54,7 @@ export function OhGridLayoutDefinition () { .paramGroup(pg('screenSettings', 'Screen Settings'), [ pn('screenWidth', 'Screen Width', 'Screen width in pixels (default 1280)') .v((value, configuration, configDescription, parameters) => { return configuration.layoutType === 'fixed' }), - pn('screenHeight', 'Screen Height', 'Screen width in pixels (default 720)') + pn('screenHeight', 'Screen Height', 'Screen height in pixels (default 720)') .v((value, configuration, configDescription, parameters) => { return configuration.layoutType === 'fixed' }), pb('scale', 'Scaling', 'Scale content to other screen widths (can lead to unexpected styling issues) (default false)') .v((value, configuration, configDescription, parameters) => { return configuration.layoutType === 'fixed' })