Skip to content

Commit

Permalink
Display Profile: correct the help text on android screen dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
dasgarner committed Aug 12, 2024
1 parent 7a76fa9 commit 1484088
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion views/displayprofile-form-edit-android.twig
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
{{ forms.dropdown("orientation", "single", title, displayProfile.getSetting("orientation"), options, "id", "value", helpText) }}

{% set title = "Screen Dimensions"|trans %}
{% set helpText = "Set dimensions to be used for the Player window ensuring that they do not exceed the actual screen size. Enter the following values representing the pixel sizings for; Left,Top,Width,Height. This requires a Player Restart to action."|trans %}
{% set helpText = "Set dimensions to be used for the Player window ensuring that they do not exceed the actual screen size. Enter the following values representing the pixel sizings for; Top,Left,Width,Height. This requires a Player Restart to action."|trans %}
{{ forms.input("screenDimensions", title, displayProfile.getSetting("screenDimensions"), helpText) }}

</div>
Expand Down
10 changes: 5 additions & 5 deletions views/displayprofile-form-edit-javascript.twig
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
let values = $inputField.val().split(',');
fieldsTemplate = template({
left: values[0],
top: values[1],
width: values[2],
height: values[3]
top: values[0],
left: values[1],
width: values[2],
height: values[3]
});
} else {
fieldsTemplate = template();
Expand Down Expand Up @@ -375,8 +375,8 @@

<script type="text/x-handlebars-template" id="android-dimension-fields">
<div class="row">
<input type="number" value="{{ left }}" class="col-3 form-control androidDimensionInput" name="dimensionLeft" id="dimensionLeft" placeholder="{% endverbatim %}{{ "Left"|trans }}{% verbatim %}"></input>
<input type="number" value="{{ top }}" class="col-3 form-control androidDimensionInput" name="dimensionTop" id="dimensionTop" placeholder="{% endverbatim %}{{ "Top"|trans }}{% verbatim %}"></input>
<input type="number" value="{{ left }}" class="col-3 form-control androidDimensionInput" name="dimensionLeft" id="dimensionLeft" placeholder="{% endverbatim %}{{ "Left"|trans }}{% verbatim %}"></input>
<input type="number" value="{{ width }}" class="col-3 form-control androidDimensionInput" name="dimensionWidth" id="dimensionWidth" placeholder="{% endverbatim %}{{ "Width"|trans }}{% verbatim %}"></input>
<input type="number" value="{{ height }}" class="col-3 form-control androidDimensionInput" name="dimensionHeight" id="dimensionHeight" placeholder="{% endverbatim %}{{ "Height"|trans }}{% verbatim %}"></input>
</div>
Expand Down

0 comments on commit 1484088

Please sign in to comment.