More UI work
This commit is contained in:
66
profile_popup.tscn
Normal file
66
profile_popup.tscn
Normal file
@@ -0,0 +1,66 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bex2rdi5oh5cc"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://cra63if6tmpgy" path="res://styles/profile_panel.tres" id="1_cdssf"]
|
||||
[ext_resource type="Script" uid="uid://b0obax7efrsy1" path="res://profile_popup.gd" id="1_pmp85"]
|
||||
[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://adventurer-profile-pic.png" id="2_pmp85"]
|
||||
|
||||
[node name="Profile Popup" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_top = -123.0
|
||||
offset_bottom = -123.0
|
||||
mouse_filter = 2
|
||||
script = ExtResource("1_pmp85")
|
||||
|
||||
[node name="PanelContainer" type="Panel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = -138.0
|
||||
offset_top = -113.0
|
||||
offset_right = 144.0
|
||||
theme_override_styles/panel = ExtResource("1_cdssf")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="PanelContainer"]
|
||||
layout_mode = 0
|
||||
offset_left = 14.0
|
||||
offset_top = 13.0
|
||||
offset_right = 78.0
|
||||
offset_bottom = 77.0
|
||||
texture = ExtResource("2_pmp85")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 0
|
||||
offset_left = 85.0
|
||||
offset_top = 11.0
|
||||
offset_right = 285.0
|
||||
offset_bottom = 61.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="NameLabel" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
text = "Name"
|
||||
|
||||
[node name="LevelLabel" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Lvl"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="ClassLabel" type="Label" parent="PanelContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Class"
|
||||
|
||||
[node name="ActivityLabel" type="Label" parent="PanelContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = 11.0
|
||||
offset_top = 86.0
|
||||
offset_right = 211.0
|
||||
offset_bottom = 109.0
|
||||
text = "Class"
|
||||
Reference in New Issue
Block a user