-
diff --git a/platform/features/plot/res/templates/plot-options-browse.html b/platform/features/plot/res/templates/plot-options-browse.html
index 8def5cdc9c..eb9ab986d2 100644
--- a/platform/features/plot/res/templates/plot-options-browse.html
+++ b/platform/features/plot/res/templates/plot-options-browse.html
@@ -19,58 +19,52 @@
this source code distribution or the Licensing information page available
at runtime from the About dialog for additional information.
-->
-
-
+
+ class="flex-elem l-flex-row no-validate no-margin">
+ class="flex-elem l-flex-row no-validate no-margin">
-
-
\ No newline at end of file
diff --git a/platform/features/plot/src/PlotOptionsForm.js b/platform/features/plot/src/PlotOptionsForm.js
index 4e7739e7d9..993760ff06 100644
--- a/platform/features/plot/src/PlotOptionsForm.js
+++ b/platform/features/plot/src/PlotOptionsForm.js
@@ -48,9 +48,9 @@ define(
'control': 'select',
'key': 'key',
'options': [
- {'name':'scet', 'value': 'scet'},
- {'name':'sclk', 'value': 'sclk'},
- {'name':'lst', 'value': 'lst'}
+ {'name':'SCET', 'value': 'scet'},
+ {'name':'SCLK', 'value': 'sclk'},
+ {'name':'LST', 'value': 'lst'}
]
}
]
@@ -64,6 +64,16 @@ define(
// itself.
'name': 'y-axis',
'rows': [
+ {
+ 'name': 'Range',
+ 'control': 'select',
+ 'key': 'key',
+ 'options': [
+ {'name':'EU', 'value': 'eu'},
+ {'name':'DN', 'value': 'dn'},
+ {'name':'Status', 'value': 'status'}
+ ]
+ },
{
'name': 'Autoscale',
'control': 'checkbox',
@@ -73,23 +83,15 @@ define(
'name': 'Min',
'control': 'textfield',
'key': 'min',
- 'pattern': '[0-9]'
+ 'pattern': '[0-9]',
+ 'inputsize' : 'sm'
},
{
'name': 'Max',
'control': 'textfield',
'key': 'max',
- 'pattern': '[0-9]'
- },
- {
- 'name': 'Range',
- 'control': 'select',
- 'key': 'key',
- 'options': [
- {'name':'eu', 'value': 'eu'},
- {'name':'dn', 'value': 'dn'},
- {'name':'status', 'value': 'status'}
- ]
+ 'pattern': '[0-9]',
+ 'inputsize' : 'sm'
}
]
}]
@@ -110,7 +112,8 @@ define(
{
'name': 'Markers',
'control': 'checkbox',
- 'key': 'markers'
+ 'key': 'markers',
+ 'layout': 'control-first'
}
]
},
@@ -120,19 +123,22 @@ define(
'name': 'No Line',
'control': 'radio',
'key': 'lineType',
- 'value': 'noLine'
+ 'value': 'noLine',
+ 'layout': 'control-first'
},
{
'name': 'Step Line',
'control': 'radio',
'key': 'lineType',
- 'value': 'stepLine'
+ 'value': 'stepLine',
+ 'layout': 'control-first'
},
{
'name': 'Linear Line',
'control': 'radio',
'key': 'lineType',
- 'value': 'linearLine'
+ 'value': 'linearLine',
+ 'layout': 'control-first'
}
]
}
diff --git a/platform/features/table/res/templates/table-options-edit.html b/platform/features/table/res/templates/table-options-edit.html
index 39884b18b1..8f8c741667 100644
--- a/platform/features/table/res/templates/table-options-edit.html
+++ b/platform/features/table/res/templates/table-options-edit.html
@@ -19,12 +19,12 @@
this source code distribution or the Licensing information page available
at runtime from the About dialog for additional information.
-->
-
-
+
+
+ class="flex-elem l-flex-row no-validate no-margin">
\ No newline at end of file
diff --git a/platform/forms/res/templates/form.html b/platform/forms/res/templates/form.html
index edd4f81d1c..60046824a8 100644
--- a/platform/forms/res/templates/form.html
+++ b/platform/forms/res/templates/form.html
@@ -31,7 +31,9 @@
req: row.required,
valid: mctFormInner.$dirty && mctFormInner.$valid,
invalid: mctFormInner.$dirty && !mctFormInner.$valid,
- first: $index < 1
+ first: $index < 1,
+ 'l-controls-first': row.layout === 'control-first',
+ 'l-input-sm': row.inputsize === 'sm'
}">
{{row.name}}