[VMF Mod Options] Center view for non 16:9 ratios
This commit is contained in:
parent
1f25cf8f92
commit
be266d62cd
1 changed files with 52 additions and 41 deletions
|
@ -45,18 +45,29 @@ local scenegraph_definition = {
|
||||||
is_root = true
|
is_root = true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
sg_aligner = {
|
||||||
|
size = {1920, 1080},
|
||||||
|
position = {0, 0, 0},
|
||||||
|
|
||||||
|
parent = "sg_root",
|
||||||
|
|
||||||
|
scale = "fit",
|
||||||
|
horizontal_alignment = "center",
|
||||||
|
vertical_alignment = "center"
|
||||||
|
},
|
||||||
|
|
||||||
sg_background_border = {
|
sg_background_border = {
|
||||||
size = {1206, 1056},
|
size = {1206, 1056},
|
||||||
position = {357, 12, 0},
|
position = {357, 12, 0},
|
||||||
|
|
||||||
parent = "sg_root"
|
parent = "sg_aligner"
|
||||||
},
|
},
|
||||||
|
|
||||||
sg_background_settings_list = {
|
sg_background_settings_list = {
|
||||||
size = {1200, 1000},
|
size = {1200, 1000},
|
||||||
position = {360, 65, 1},
|
position = {360, 65, 1},
|
||||||
|
|
||||||
parent = "sg_root"
|
parent = "sg_aligner"
|
||||||
},
|
},
|
||||||
|
|
||||||
sg_mousewheel_scroll_area = {
|
sg_mousewheel_scroll_area = {
|
||||||
|
@ -91,14 +102,14 @@ local scenegraph_definition = {
|
||||||
size = {1200, 47},
|
size = {1200, 47},
|
||||||
position = {360, 15, 1},
|
position = {360, 15, 1},
|
||||||
|
|
||||||
parent = "sg_root"
|
parent = "sg_aligner"
|
||||||
},
|
},
|
||||||
|
|
||||||
sg_scrollbar = {
|
sg_scrollbar = {
|
||||||
size = {360, 1050},
|
size = {360, 1050},
|
||||||
position = {1562, 40, 0},
|
position = {1562, 40, 0},
|
||||||
|
|
||||||
parent = "sg_root"
|
parent = "sg_aligner"
|
||||||
},
|
},
|
||||||
|
|
||||||
sg_dead_space_filler = {
|
sg_dead_space_filler = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue