Skip to content

Commit

Permalink
Fix height description in grid layout properties (#1023)
Browse files Browse the repository at this point in the history
Fix missing doc from #993

Signed-off-by: Eiko Wagenknecht <[email protected]>
  • Loading branch information
eikowagenknecht authored May 9, 2021
1 parent 30e7e83 commit 37cb636
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
5 changes: 5 additions & 0 deletions bundles/org.openhab.ui/doc/components/oh-cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/doc/components/oh-grid-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
5 changes: 5 additions & 0 deletions bundles/org.openhab.ui/doc/components/oh-label-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
5 changes: 5 additions & 0 deletions bundles/org.openhab.ui/doc/components/oh-label-cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
Expand Down

0 comments on commit 37cb636

Please sign in to comment.