Fix height description in grid layout properties (#1023)

Fix missing doc from #993

Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
pull/1048/head
Eiko Wagenknecht 2021-05-09 10:14:43 +02:00 committed by GitHub
parent 30e7e835b1
commit 37cb6364c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 2 deletions

View File

@ -240,6 +240,11 @@ A regular or expandable cell
Colors of the trend line (see <a target="_blank" class="external text-color-blue" href="https://github.com/QingWei-Li/vue-trend#props">vue-trend</a>)
</PropDescription>
</PropBlock>
<PropBlock type="TEXT" name="trendSampling" label="Trend Line Sampling">
<PropDescription>
Amount of minutes between each point of the trendline (default: 60). Affected by persistence strategies different from "every minute"
</PropDescription>
</PropBlock>
</PropGroup>
</div>

View File

@ -56,7 +56,7 @@ Arranges widgets on a grid of squares with user-defined sizes
</PropBlock>
<PropBlock type="INTEGER" name="screenHeight" label="Screen Height">
<PropDescription>
Screen width in pixels (default 720)
Screen height in pixels (default 720)
</PropDescription>
</PropBlock>
<PropBlock type="BOOLEAN" name="scale" label="Scaling">

View File

@ -287,6 +287,11 @@ Display the state of an item in a card
Colors of the trend line (see <a target="_blank" class="external text-color-blue" href="https://github.com/QingWei-Li/vue-trend#props">vue-trend</a>)
</PropDescription>
</PropBlock>
<PropBlock type="TEXT" name="trendSampling" label="Trend Line Sampling">
<PropDescription>
Amount of minutes between each point of the trendline (default: 60). Affected by persistence strategies different from "every minute"
</PropDescription>
</PropBlock>
</PropGroup>
</div>

View File

@ -256,6 +256,11 @@ A cell with a big label to show a short item state value
Colors of the trend line (see <a target="_blank" class="external text-color-blue" href="https://github.com/QingWei-Li/vue-trend#props">vue-trend</a>)
</PropDescription>
</PropBlock>
<PropBlock type="TEXT" name="trendSampling" label="Trend Line Sampling">
<PropDescription>
Amount of minutes between each point of the trendline (default: 60). Affected by persistence strategies different from "every minute"
</PropDescription>
</PropBlock>
</PropGroup>
</div>

View File

@ -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' })