summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2020-02-10 16:43:21 +0200
committermaxim_productengine <mnikolenko@productengine.com>2020-02-10 16:43:21 +0200
commita5c1ae9fafa3b1415eb75aefc9c8ace19e8940d5 (patch)
treed423b91d361865673bf20582b003b0026d194835
parentad63fa5ffad787402fc5b414fd8f2b85f9300411 (diff)
SL-12621 Add CameraOffsetScale option to "Precise Controls" floater
-rw-r--r--indra/newview/skins/default/xui/en/floater_preferences_view_advanced.xml43
1 files changed, 42 insertions, 1 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_preferences_view_advanced.xml b/indra/newview/skins/default/xui/en/floater_preferences_view_advanced.xml
index 77e36f0b09..6aedde84a0 100644
--- a/indra/newview/skins/default/xui/en/floater_preferences_view_advanced.xml
+++ b/indra/newview/skins/default/xui/en/floater_preferences_view_advanced.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
- height="128"
+ height="190"
layout="topleft"
name="floaterpreferencesviewadvanced"
help_topic="floaterviewadvanced"
@@ -10,6 +10,7 @@
<text
follows="top|left|right"
+ name="camera_offset_lbl"
height="16"
layout="topleft"
left="10"
@@ -63,6 +64,7 @@
<text
follows="top|left|right"
+ name="focus_offset_lbl"
height="16"
layout="topleft"
left="10"
@@ -113,4 +115,43 @@
<spinner.commit_callback
function="CommitSettings" />
</spinner>
+
+ <text
+ follows="top|left|right"
+ name="offset_scale_lbl"
+ height="16"
+ layout="topleft"
+ left="10"
+ top_pad="20"
+ width="140">
+ Camera offset scale:
+ </text>
+
+ <slider
+ control_name="CameraOffsetScale"
+ follows="top|left|right"
+ height="16"
+ top_pad="5"
+ increment="0.1"
+ min_val="-3"
+ max_val="5"
+ show_text="false"
+ layout="topleft"
+ left="3"
+ name="offset_scale_sld"
+ tool_tip="Choose name tag opacity"
+ width="196" />
+ <spinner
+ control_name="CameraOffsetScale"
+ height="20"
+ follows="top|left|right"
+ left_pad="5"
+ name="offset_scale_ctrl"
+ min_val="-3"
+ max_val="5"
+ width="58">
+ <spinner.commit_callback
+ function="CommitSettings" />
+ </spinner>
+
</floater>