This commit is contained in:
Benau 2021-09-10 17:11:15 +08:00
parent e74c198301
commit df97d76bd7
2 changed files with 12 additions and 24 deletions

View File

@ -11,7 +11,7 @@
<div width="100%" height="fit" layout="horizontal-row">
<spacer width="3%" height="100%" />
<div proportion="1" height="fit" layout="horizontal-row" >
<label width="20%" height="100%" I18N="In the ui/camera screen" text="FOV"/>
<label width="35%" height="100%" text_align="left" I18N="In the ui/camera screen" text="FOV"/>
<gauge id="fov" proportion="1"/>
</div>
</div>
@ -21,7 +21,7 @@
<div width="100%" height="fit" layout="horizontal-row">
<spacer width="3%" height="100%" />
<div proportion="1" height="fit" layout="horizontal-row" >
<label width="20%" height="100%" text_align="left" I18N="In the ui/camera screen" text="Distance"/>
<label width="35%" height="100%" text_align="left" I18N="In the ui/camera screen" text="Distance"/>
<gauge id="camera_distance" proportion="1"/>
</div>
</div>
@ -32,7 +32,7 @@
<div width="100%" height="fit" layout="horizontal-row">
<spacer width="3%" height="100%" />
<div proportion="1" height="fit" layout="horizontal-row" >
<label width="20%" height="100%" text_align="left" I18N="In the ui/camera screen" text="Angle"/>
<label width="35%" height="100%" text_align="left" I18N="In the ui/camera screen" text="Angle"/>
<gauge id="camera_angle" proportion="1"/>
</div>
</div>
@ -48,29 +48,17 @@
</div>
</div>
<spacer width="5" height="2%"/>
<label width="100%" I18N="In the ui/camera settings" text="Backward camera"/>
<spacer width="5" height="1%"/>
<spacer height="2%" width="100%" />
<div width="100%" height="fit" layout="horizontal-row">
<spacer width="3%" height="100%" />
<div proportion="1" height="fit" layout="horizontal-row" >
<label width="20%" height="100%" text_align="left" I18N="In the ui/camera screen" text="Distance"/>
<gauge id="backward_camera_distance" proportion="1"/>
</div>
</div>
<spacer height="2%" width="100%" />
<div width="100%" height="fit" layout="horizontal-row">
<spacer width="3%" height="100%" />
<div proportion="1" height="fit" layout="horizontal-row" >
<label width="20%" height="100%" text_align="left" I18N="In the ui/camera screen" text="Angle"/>
<gauge id="backward_camera_angle" proportion="1"/>
</div>
<label width="fit" height="100%" text_align="left" I18N="In the ui/camera screen" text="Distance"/>
<gauge id="backward_camera_distance" width="35%"/>
<spacer width="2%" height="100%" />
<label width="fit" height="100%" text_align="left" I18N="In the ui/camera screen" text="Angle"/>
<gauge id="backward_camera_angle" width="35%"/>
</div>
<spacer height="2%" width="100%" />
@ -84,9 +72,9 @@
</div>
</div>
<spacer height="4%" width="100%" />
<spacer height="2%" width="100%" />
<buttonbar id="buttons" height="20%" width="40%" align="center">
<buttonbar id="buttons" height="20%" width="90%" align="center">
<icon-button id="apply" width="128" height="128" icon="gui/icons/green_check.png"
I18N="In the ui/camera screen" text="Apply" align="center"/>
<icon-button id="reset" width="128" height="128" icon="gui/icons/restart.png"

View File

@ -548,7 +548,7 @@ void OptionsScreenUI::eventCallback(Widget* widget, const std::string& name, con
}
else if(name == "custom_camera")
{
new CustomCameraSettingsDialog(0.8f, 0.9f);
new CustomCameraSettingsDialog(0.8f, 0.95f);
}
#endif
} // eventCallback