Increase the size of the settings menu; reduce the size of Lua settings "number" in order to make camera settings look good with the default size of the settings menu.

combined_windows_build
Petr Mikheev 2 years ago
parent 65efd6f1c2
commit 3fb470dcce

@ -249,13 +249,13 @@ settings
--------
:Default:
x = 0.33
x = 0.1
y = 0.18
y = 0.1
w = 0.33
w = 0.8
h = 0.66
h = 0.8
The settings window.
Activated by clicking Options in the main menu.

@ -112,6 +112,7 @@ return function(registerRenderer)
template = I.MWUI.templates.textEditLine,
props = {
text = tostring(value),
size = util.vector2(80, 0),
},
events = {
textChanged = async:callback(function(text)
@ -262,4 +263,4 @@ return function(registerRenderer)
})
end)
end
end
end

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout" version="3.2.0">
<Widget type="Window" skin="MW_Window" position="0 0 400 485" layer="MainMenu" name="_Main">
<Property key="MinSize" value="430 446"/>
<Property key="MinSize" value="640 480"/>
<Widget type="TabControl" skin="TabControl" position="8 8 368 405" align="Stretch" name="SettingsTab">
<Property key="ButtonAutoWidth" value="true"/>
<Widget type="TabItem" skin="" position="4 32 360 358">
@ -302,7 +302,7 @@
</Widget>
<Widget type="TextBox" skin="SandText" position="182 124 300 32" align="Left Top">
<Property key="Caption" value="Hint: press F3 to show \nthe current frame rate."/>
<Property key="Caption" value="Hint: press F3 to show the current frame rate."/>
</Widget>
<Widget type="HBox" skin="" position="182 160 300 24">
@ -317,7 +317,7 @@
</Widget>
<Widget type="TextBox" skin="SandText" position="182 190 300 32" align="Left Top">
<Property key="Caption" value="Hint: press F2 to show \nthe config HUD."/>
<Property key="Caption" value="Hint: press F2 to show the config HUD."/>
</Widget>
<Widget type="TextBox" skin="NormalText" position="0 228 352 18" align="Left Top" name="FovText">

@ -794,10 +794,10 @@ companion maximized h = 0.875
companion maximized = false
# Settings menu
settings x = 0.33
settings y = 0.18
settings w = 0.33
settings h = 0.67
settings x = 0.1
settings y = 0.1
settings w = 0.8
settings h = 0.8
settings maximized x = 0.015
settings maximized y = 0.02
settings maximized w = 0.97

Loading…
Cancel
Save