Fix panel texture

This commit is contained in:
Daniel Flanagan 2021-12-08 16:51:49 -06:00
parent 849a31242e
commit 25b93a9f2b
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 39 additions and 5 deletions

View file

@ -1,6 +1,40 @@
[gd_resource type="Theme" load_steps=2 format=2] [gd_resource type="Theme" load_steps=7 format=2]
[ext_resource path="res://assets/fonts/iosevkalyte/iosevkalyte.tres" type="DynamicFont" id=1] [ext_resource path="res://assets/fonts/iosevkalyte/iosevkalyte.tres" type="DynamicFont" id=1]
[ext_resource path="res://assets/img/panel.png" type="Texture" id=2]
[sub_resource type="Image" id=1]
data = {
"data": PoolByteArray( 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42, 37, 37, 42 ),
"format": "RGB8",
"height": 8,
"mipmaps": false,
"width": 8
}
[sub_resource type="ImageTexture" id=2]
flags = 4
flags = 4
image = SubResource( 1 )
size = Vector2( 8, 8 )
[sub_resource type="StyleBoxTexture" id=3]
texture = SubResource( 2 )
region_rect = Rect2( 0, 0, 8, 8 )
[sub_resource type="StyleBoxTexture" id=4]
content_margin_left = 7.0
content_margin_right = 7.0
content_margin_top = 7.0
content_margin_bottom = 7.0
texture = ExtResource( 2 )
region_rect = Rect2( 0, 0, 64, 64 )
margin_left = 4.0
margin_right = 4.0
margin_top = 4.0
margin_bottom = 4.0
[resource] [resource]
default_font = ExtResource( 1 ) default_font = ExtResource( 1 )
Panel/styles/panel = SubResource( 3 )
PanelContainer/styles/panel = SubResource( 4 )

View file

@ -110,10 +110,10 @@ size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
[node name="Label" type="Label" parent="v/body/p/lobbies/zero_state"] [node name="Label" type="Label" parent="v/body/p/lobbies/zero_state"]
margin_left = 229.0 margin_left = 177.0
margin_top = 239.0 margin_top = 235.0
margin_right = 740.0 margin_right = 793.0
margin_bottom = 253.0 margin_bottom = 256.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
text = "Looks like there are no active lobbies at the moment! Why don't you make one?" text = "Looks like there are no active lobbies at the moment! Why don't you make one?"