inventory_item_button.tscn 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. [gd_scene load_steps=2 format=1]
  2. [ext_resource path="res://scripts/inventory_item_button.gd" type="Script" id=1]
  3. [node name="inventory_item_button" type="PanelContainer"]
  4. rect/min_size = Vector2( 300, 70 )
  5. focus/ignore_mouse = false
  6. focus/stop_mouse = true
  7. size_flags/horizontal = 2
  8. size_flags/vertical = 2
  9. margin/left = 0.0
  10. margin/top = 0.0
  11. margin/right = 784.0
  12. margin/bottom = 70.0
  13. script/script = ExtResource( 1 )
  14. __meta__ = { "__editor_plugin_screen__":"2D" }
  15. [node name="hbox" type="HBoxContainer" parent="."]
  16. focus/ignore_mouse = false
  17. focus/stop_mouse = false
  18. size_flags/horizontal = 3
  19. size_flags/vertical = 3
  20. margin/left = 7.0
  21. margin/top = 7.0
  22. margin/right = 777.0
  23. margin/bottom = 63.0
  24. alignment = 0
  25. [node name="name" type="Label" parent="hbox"]
  26. focus/ignore_mouse = true
  27. focus/stop_mouse = true
  28. size_flags/horizontal = 3
  29. size_flags/vertical = 3
  30. margin/left = 0.0
  31. margin/top = 0.0
  32. margin/right = 254.0
  33. margin/bottom = 56.0
  34. text = "Iron Dagger"
  35. valign = 1
  36. percent_visible = 1.0
  37. lines_skipped = 0
  38. max_lines_visible = -1
  39. [node name="efficacy" type="Label" parent="hbox"]
  40. focus/ignore_mouse = true
  41. focus/stop_mouse = true
  42. size_flags/horizontal = 3
  43. size_flags/vertical = 3
  44. margin/left = 258.0
  45. margin/top = 0.0
  46. margin/right = 512.0
  47. margin/bottom = 56.0
  48. text = "Nodata"
  49. align = 1
  50. valign = 1
  51. percent_visible = 1.0
  52. lines_skipped = 0
  53. max_lines_visible = -1
  54. [node name="weight" type="Label" parent="hbox"]
  55. focus/ignore_mouse = true
  56. focus/stop_mouse = true
  57. size_flags/horizontal = 3
  58. size_flags/vertical = 3
  59. margin/left = 516.0
  60. margin/top = 0.0
  61. margin/right = 770.0
  62. margin/bottom = 56.0
  63. text = "4"
  64. align = 1
  65. valign = 1
  66. percent_visible = 1.0
  67. lines_skipped = 0
  68. max_lines_visible = -1
  69. [node name="select" type="Button" parent="."]
  70. visibility/self_opacity = 0.0
  71. focus/ignore_mouse = false
  72. focus/stop_mouse = true
  73. size_flags/horizontal = 2
  74. size_flags/vertical = 2
  75. margin/left = 7.0
  76. margin/top = 7.0
  77. margin/right = 777.0
  78. margin/bottom = 63.0
  79. toggle_mode = false
  80. enabled_focus_mode = 2
  81. shortcut = null
  82. flat = false