No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InfoPanel.tscn 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://fonts/PanelTitleFont.tres" type="DynamicFont" id=1]
  3. [ext_resource path="res://fonts/PanelContentFont.tres" type="DynamicFont" id=2]
  4. [ext_resource path="res://scenes/end-screen/InfoPanel.gd" type="Script" id=3]
  5. [ext_resource path="res://styles/Panel.tres" type="StyleBox" id=4]
  6. [node name="InfoPanel" type="Panel"]
  7. margin_right = 400.0
  8. margin_bottom = 200.0
  9. rect_min_size = Vector2( 400, 300 )
  10. mouse_filter = 2
  11. custom_styles/panel = ExtResource( 4 )
  12. script = ExtResource( 3 )
  13. __meta__ = {
  14. "_edit_use_anchors_": false
  15. }
  16. [node name="MarginContainer" type="MarginContainer" parent="."]
  17. anchor_right = 1.0
  18. anchor_bottom = 1.0
  19. mouse_filter = 2
  20. custom_constants/margin_right = 20
  21. custom_constants/margin_top = 20
  22. custom_constants/margin_left = 20
  23. custom_constants/margin_bottom = 20
  24. __meta__ = {
  25. "_edit_use_anchors_": false
  26. }
  27. [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
  28. margin_left = 20.0
  29. margin_top = 20.0
  30. margin_right = 380.0
  31. margin_bottom = 280.0
  32. mouse_filter = 2
  33. [node name="Title" type="Label" parent="MarginContainer/VBoxContainer"]
  34. margin_right = 360.0
  35. margin_bottom = 42.0
  36. custom_fonts/font = ExtResource( 1 )
  37. text = "Title"
  38. align = 1
  39. __meta__ = {
  40. "_edit_use_anchors_": false
  41. }
  42. [node name="Content" type="RichTextLabel" parent="MarginContainer/VBoxContainer"]
  43. margin_top = 46.0
  44. margin_right = 360.0
  45. margin_bottom = 260.0
  46. mouse_filter = 2
  47. size_flags_vertical = 3
  48. custom_fonts/normal_font = ExtResource( 2 )
  49. text = "Content"
  50. scroll_active = false
  51. __meta__ = {
  52. "_edit_use_anchors_": false
  53. }