Change base resolution to 384x240
48x30 tiles Has integer scales for 720p, 1200p, 1440p, 2160p 1080p has to settle for 1536x960
This commit is contained in:
parent
01390b7bb4
commit
8d620dae37
|
@ -37,8 +37,8 @@ gdscript/warnings/integer_division=false
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
window/size/width=640
|
window/size/width=384
|
||||||
window/size/height=360
|
window/size/height=240
|
||||||
window/dpi/allow_hidpi=true
|
window/dpi/allow_hidpi=true
|
||||||
window/stretch/shrink=2.0
|
window/stretch/shrink=2.0
|
||||||
window/size/snap_to_integer=true
|
window/size/snap_to_integer=true
|
||||||
|
|
|
@ -4,165 +4,158 @@
|
||||||
[ext_resource path="res://widgets/RomSelect.gd" type="Script" id=2]
|
[ext_resource path="res://widgets/RomSelect.gd" type="Script" id=2]
|
||||||
|
|
||||||
[node name="RomSelect" type="PanelContainer"]
|
[node name="RomSelect" type="PanelContainer"]
|
||||||
margin_right = 480.0
|
anchor_right = 1.0
|
||||||
margin_bottom = 360.0
|
anchor_bottom = 1.0
|
||||||
rect_min_size = Vector2( 360, 360 )
|
rect_min_size = Vector2( 384, 240 )
|
||||||
theme = ExtResource( 1 )
|
theme = ExtResource( 1 )
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||||
margin_left = 4.0
|
margin_left = 4.0
|
||||||
margin_top = 4.0
|
margin_top = 4.0
|
||||||
margin_right = 476.0
|
margin_right = 380.0
|
||||||
margin_bottom = 356.0
|
margin_bottom = 236.0
|
||||||
custom_constants/separation = 4
|
custom_constants/separation = 2
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="VBoxContainer"]
|
[node name="Label" type="Label" parent="VBoxContainer"]
|
||||||
margin_right = 472.0
|
margin_right = 376.0
|
||||||
margin_bottom = 14.0
|
margin_bottom = 14.0
|
||||||
text = "Select a ROM from your device's storage"
|
text = "Select a ROM from your device's storage"
|
||||||
|
|
||||||
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
||||||
margin_top = 18.0
|
margin_top = 16.0
|
||||||
margin_right = 472.0
|
margin_right = 376.0
|
||||||
margin_bottom = 49.0
|
margin_bottom = 45.0
|
||||||
rect_min_size = Vector2( 0, 31 )
|
rect_min_size = Vector2( 0, 29 )
|
||||||
scroll_vertical_enabled = false
|
scroll_vertical_enabled = false
|
||||||
|
|
||||||
[node name="folder_buttons" type="HBoxContainer" parent="VBoxContainer/ScrollContainer"]
|
[node name="folder_buttons" type="HBoxContainer" parent="VBoxContainer/ScrollContainer"]
|
||||||
custom_constants/separation = 4
|
custom_constants/separation = 4
|
||||||
|
|
||||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||||
margin_top = 53.0
|
margin_top = 47.0
|
||||||
margin_right = 472.0
|
margin_right = 376.0
|
||||||
margin_bottom = 352.0
|
margin_bottom = 232.0
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
|
|
||||||
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/HBoxContainer"]
|
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/HBoxContainer"]
|
||||||
margin_right = 278.0
|
margin_right = 220.0
|
||||||
margin_bottom = 299.0
|
margin_bottom = 185.0
|
||||||
rect_min_size = Vector2( 200, 0 )
|
rect_min_size = Vector2( 120, 0 )
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
size_flags_stretch_ratio = 1.5
|
size_flags_stretch_ratio = 1.5
|
||||||
|
|
||||||
[node name="ItemList" type="ItemList" parent="VBoxContainer/HBoxContainer/PanelContainer"]
|
[node name="ItemList" type="ItemList" parent="VBoxContainer/HBoxContainer/PanelContainer"]
|
||||||
margin_left = 4.0
|
margin_left = 4.0
|
||||||
margin_top = 4.0
|
margin_top = 4.0
|
||||||
margin_right = 274.0
|
margin_right = 216.0
|
||||||
margin_bottom = 295.0
|
margin_bottom = 181.0
|
||||||
rect_min_size = Vector2( 120, 160 )
|
rect_min_size = Vector2( 120, 160 )
|
||||||
|
|
||||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
||||||
margin_left = 286.0
|
margin_left = 228.0
|
||||||
margin_right = 472.0
|
margin_right = 376.0
|
||||||
margin_bottom = 299.0
|
margin_bottom = 185.0
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
|
custom_constants/separation = 1
|
||||||
|
|
||||||
[node name="lbl_filename" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="lbl_filename" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 14.0
|
margin_bottom = 14.0
|
||||||
rect_min_size = Vector2( 140, 0 )
|
|
||||||
size_flags_vertical = 1
|
size_flags_vertical = 1
|
||||||
text = "Filename:"
|
text = "Filename:"
|
||||||
|
|
||||||
[node name="mc" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="mc" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
margin_top = 22.0
|
margin_top = 14.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 36.0
|
margin_bottom = 28.0
|
||||||
custom_constants/margin_top = 0
|
custom_constants/margin_top = 0
|
||||||
custom_constants/margin_left = 24
|
custom_constants/margin_left = 12
|
||||||
custom_constants/margin_bottom = 0
|
custom_constants/margin_bottom = 0
|
||||||
|
|
||||||
[node name="filename" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc"]
|
[node name="filename" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc"]
|
||||||
margin_left = 24.0
|
margin_left = 12.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 14.0
|
margin_bottom = 14.0
|
||||||
rect_min_size = Vector2( 140, 0 )
|
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
text = "Test"
|
text = "Test"
|
||||||
autowrap = true
|
autowrap = true
|
||||||
|
|
||||||
[node name="lbl_type" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="lbl_type" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
margin_top = 44.0
|
margin_top = 28.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 58.0
|
margin_bottom = 42.0
|
||||||
rect_min_size = Vector2( 140, 0 )
|
|
||||||
size_flags_vertical = 1
|
size_flags_vertical = 1
|
||||||
text = "Type:"
|
text = "Type:"
|
||||||
|
|
||||||
[node name="mc2" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="mc2" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
margin_top = 66.0
|
margin_top = 42.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 80.0
|
margin_bottom = 56.0
|
||||||
custom_constants/margin_top = 0
|
custom_constants/margin_top = 0
|
||||||
custom_constants/margin_left = 24
|
custom_constants/margin_left = 12
|
||||||
custom_constants/margin_bottom = 0
|
custom_constants/margin_bottom = 0
|
||||||
|
|
||||||
[node name="filetype" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc2"]
|
[node name="filetype" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc2"]
|
||||||
margin_left = 24.0
|
margin_left = 12.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 14.0
|
margin_bottom = 14.0
|
||||||
rect_min_size = Vector2( 140, 0 )
|
|
||||||
size_flags_vertical = 1
|
size_flags_vertical = 1
|
||||||
text = "Test"
|
text = "Test"
|
||||||
autowrap = true
|
autowrap = true
|
||||||
|
|
||||||
[node name="lbl_size" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="lbl_size" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
margin_top = 88.0
|
margin_top = 56.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 102.0
|
margin_bottom = 70.0
|
||||||
rect_min_size = Vector2( 140, 0 )
|
|
||||||
size_flags_vertical = 1
|
size_flags_vertical = 1
|
||||||
text = "Size:"
|
text = "Size:"
|
||||||
|
|
||||||
[node name="mc3" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="mc3" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
margin_top = 110.0
|
margin_top = 70.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 124.0
|
margin_bottom = 84.0
|
||||||
custom_constants/margin_top = 0
|
custom_constants/margin_top = 0
|
||||||
custom_constants/margin_left = 24
|
custom_constants/margin_left = 12
|
||||||
custom_constants/margin_bottom = 0
|
custom_constants/margin_bottom = 0
|
||||||
|
|
||||||
[node name="filesize" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc3"]
|
[node name="filesize" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc3"]
|
||||||
margin_left = 24.0
|
margin_left = 12.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 14.0
|
margin_bottom = 14.0
|
||||||
rect_min_size = Vector2( 140, 0 )
|
|
||||||
size_flags_vertical = 1
|
size_flags_vertical = 1
|
||||||
text = "Test"
|
text = "Test"
|
||||||
autowrap = true
|
autowrap = true
|
||||||
|
|
||||||
[node name="lbl_info" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="lbl_info" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
margin_top = 132.0
|
margin_top = 84.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 146.0
|
margin_bottom = 98.0
|
||||||
rect_min_size = Vector2( 140, 0 )
|
|
||||||
size_flags_vertical = 1
|
size_flags_vertical = 1
|
||||||
text = "Info:"
|
text = "Info:"
|
||||||
|
|
||||||
[node name="mc4" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="mc4" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
margin_top = 154.0
|
margin_top = 98.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 269.0
|
margin_bottom = 163.0
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
custom_constants/margin_top = 0
|
custom_constants/margin_top = 0
|
||||||
custom_constants/margin_left = 24
|
custom_constants/margin_left = 12
|
||||||
custom_constants/margin_bottom = 0
|
custom_constants/margin_bottom = 0
|
||||||
|
|
||||||
[node name="fileinfo" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc4"]
|
[node name="fileinfo" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc4"]
|
||||||
margin_left = 24.0
|
margin_left = 12.0
|
||||||
margin_right = 186.0
|
margin_right = 148.0
|
||||||
margin_bottom = 115.0
|
margin_bottom = 65.0
|
||||||
rect_min_size = Vector2( 140, 0 )
|
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
text = "Test"
|
text = "Test"
|
||||||
autowrap = true
|
autowrap = true
|
||||||
|
|
||||||
[node name="btn_ok" type="Button" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="btn_ok" type="Button" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
margin_left = 80.0
|
margin_left = 61.0
|
||||||
margin_top = 277.0
|
margin_top = 163.0
|
||||||
margin_right = 105.0
|
margin_right = 86.0
|
||||||
margin_bottom = 299.0
|
margin_bottom = 185.0
|
||||||
size_flags_horizontal = 4
|
size_flags_horizontal = 4
|
||||||
size_flags_vertical = 8
|
size_flags_vertical = 8
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
Loading…
Reference in New Issue