mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 13:06:40 +00:00
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.
This commit is contained in:
parent
65efd6f1c2
commit
3fb470dcce
4 changed files with 13 additions and 12 deletions
|
@ -249,13 +249,13 @@ settings
|
||||||
--------
|
--------
|
||||||
|
|
||||||
:Default:
|
: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.
|
The settings window.
|
||||||
Activated by clicking Options in the main menu.
|
Activated by clicking Options in the main menu.
|
||||||
|
|
|
@ -112,6 +112,7 @@ return function(registerRenderer)
|
||||||
template = I.MWUI.templates.textEditLine,
|
template = I.MWUI.templates.textEditLine,
|
||||||
props = {
|
props = {
|
||||||
text = tostring(value),
|
text = tostring(value),
|
||||||
|
size = util.vector2(80, 0),
|
||||||
},
|
},
|
||||||
events = {
|
events = {
|
||||||
textChanged = async:callback(function(text)
|
textChanged = async:callback(function(text)
|
||||||
|
@ -262,4 +263,4 @@ return function(registerRenderer)
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<MyGUI type="Layout" version="3.2.0">
|
<MyGUI type="Layout" version="3.2.0">
|
||||||
<Widget type="Window" skin="MW_Window" position="0 0 400 485" layer="MainMenu" name="_Main">
|
<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">
|
<Widget type="TabControl" skin="TabControl" position="8 8 368 405" align="Stretch" name="SettingsTab">
|
||||||
<Property key="ButtonAutoWidth" value="true"/>
|
<Property key="ButtonAutoWidth" value="true"/>
|
||||||
<Widget type="TabItem" skin="" position="4 32 360 358">
|
<Widget type="TabItem" skin="" position="4 32 360 358">
|
||||||
|
@ -302,7 +302,7 @@
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="TextBox" skin="SandText" position="182 124 300 32" align="Left Top">
|
<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>
|
||||||
|
|
||||||
<Widget type="HBox" skin="" position="182 160 300 24">
|
<Widget type="HBox" skin="" position="182 160 300 24">
|
||||||
|
@ -317,7 +317,7 @@
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="TextBox" skin="SandText" position="182 190 300 32" align="Left Top">
|
<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>
|
||||||
|
|
||||||
<Widget type="TextBox" skin="NormalText" position="0 228 352 18" align="Left Top" name="FovText">
|
<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
|
companion maximized = false
|
||||||
|
|
||||||
# Settings menu
|
# Settings menu
|
||||||
settings x = 0.33
|
settings x = 0.1
|
||||||
settings y = 0.18
|
settings y = 0.1
|
||||||
settings w = 0.33
|
settings w = 0.8
|
||||||
settings h = 0.67
|
settings h = 0.8
|
||||||
settings maximized x = 0.015
|
settings maximized x = 0.015
|
||||||
settings maximized y = 0.02
|
settings maximized y = 0.02
|
||||||
settings maximized w = 0.97
|
settings maximized w = 0.97
|
||||||
|
|
Loading…
Reference in a new issue