[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,62 +45,73 @@ local scenegraph_definition = {
|
|||
is_root = true
|
||||
},
|
||||
|
||||
sg_background_border = {
|
||||
size = {1206, 1056},
|
||||
position = {357, 12, 0},
|
||||
sg_aligner = {
|
||||
size = {1920, 1080},
|
||||
position = {0, 0, 0},
|
||||
|
||||
parent = "sg_root"
|
||||
parent = "sg_root",
|
||||
|
||||
scale = "fit",
|
||||
horizontal_alignment = "center",
|
||||
vertical_alignment = "center"
|
||||
},
|
||||
|
||||
sg_background_settings_list = {
|
||||
size = {1200, 1000},
|
||||
position = {360, 65, 1},
|
||||
sg_background_border = {
|
||||
size = {1206, 1056},
|
||||
position = {357, 12, 0},
|
||||
|
||||
parent = "sg_root"
|
||||
},
|
||||
parent = "sg_aligner"
|
||||
},
|
||||
|
||||
sg_mousewheel_scroll_area = {
|
||||
sg_background_settings_list = {
|
||||
size = {1200, 1000},
|
||||
position = {0, 0, 0},
|
||||
position = {360, 65, 1},
|
||||
|
||||
parent = "sg_background_settings_list"
|
||||
parent = "sg_aligner"
|
||||
},
|
||||
|
||||
sg_settings_list_mask = {
|
||||
size = {1200, 1000},
|
||||
position = {0, 0, 2},
|
||||
sg_mousewheel_scroll_area = {
|
||||
size = {1200, 1000},
|
||||
position = {0, 0, 0},
|
||||
|
||||
parent = "sg_background_settings_list"
|
||||
parent = "sg_background_settings_list"
|
||||
},
|
||||
|
||||
sg_settings_list_mask = {
|
||||
size = {1200, 1000},
|
||||
position = {0, 0, 2},
|
||||
|
||||
parent = "sg_background_settings_list"
|
||||
},
|
||||
|
||||
sg_settings_list_mask_edge_fade_top = {
|
||||
size = {1200, 15},
|
||||
position = {0, 985, 3},
|
||||
|
||||
parent = "sg_background_settings_list"
|
||||
},
|
||||
|
||||
sg_settings_list_mask_edge_fade_bottom = {
|
||||
size = {1200, 15},
|
||||
position = {0, 0, 3},
|
||||
|
||||
parent = "sg_background_settings_list"
|
||||
},
|
||||
|
||||
sg_search_bar = {
|
||||
size = {1200, 47},
|
||||
position = {360, 15, 1},
|
||||
|
||||
parent = "sg_aligner"
|
||||
},
|
||||
|
||||
sg_settings_list_mask_edge_fade_top = {
|
||||
size = {1200, 15},
|
||||
position = {0, 985, 3},
|
||||
sg_scrollbar = {
|
||||
size = {360, 1050},
|
||||
position = {1562, 40, 0},
|
||||
|
||||
parent = "sg_background_settings_list"
|
||||
parent = "sg_aligner"
|
||||
},
|
||||
|
||||
sg_settings_list_mask_edge_fade_bottom = {
|
||||
size = {1200, 15},
|
||||
position = {0, 0, 3},
|
||||
|
||||
parent = "sg_background_settings_list"
|
||||
},
|
||||
|
||||
sg_search_bar = {
|
||||
size = {1200, 47},
|
||||
position = {360, 15, 1},
|
||||
|
||||
parent = "sg_root"
|
||||
},
|
||||
|
||||
sg_scrollbar = {
|
||||
size = {360, 1050},
|
||||
position = {1562, 40, 0},
|
||||
|
||||
parent = "sg_root"
|
||||
},
|
||||
|
||||
sg_dead_space_filler = {
|
||||
size = {1920, 1080},
|
||||
position = {0, 0, 0},
|
||||
|
|
Loading…
Add table
Reference in a new issue