Skip to content
Snippets Groups Projects
Commit a5c1ae9f authored by maxim_productengine's avatar maxim_productengine
Browse files

SL-12621 Add CameraOffsetScale option to "Precise Controls" floater

parent ad63fa5f
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater <floater
height="128" height="190"
layout="topleft" layout="topleft"
name="floaterpreferencesviewadvanced" name="floaterpreferencesviewadvanced"
help_topic="floaterviewadvanced" help_topic="floaterviewadvanced"
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<text <text
follows="top|left|right" follows="top|left|right"
name="camera_offset_lbl"
height="16" height="16"
layout="topleft" layout="topleft"
left="10" left="10"
...@@ -63,6 +64,7 @@ ...@@ -63,6 +64,7 @@
<text <text
follows="top|left|right" follows="top|left|right"
name="focus_offset_lbl"
height="16" height="16"
layout="topleft" layout="topleft"
left="10" left="10"
...@@ -113,4 +115,43 @@ ...@@ -113,4 +115,43 @@
<spinner.commit_callback <spinner.commit_callback
function="CommitSettings" /> function="CommitSettings" />
</spinner> </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> </floater>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment