channel_card.tscn 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://icon.png" type="Texture" id=1]
  3. [ext_resource path="res://scenes/custom_nodes/channel_card/channel_card.gd" type="Script" id=2]
  4. [ext_resource path="res://assets/fonts/DroidSans.ttf" type="DynamicFontData" id=3]
  5. [sub_resource type="DynamicFont" id=1]
  6. size = 11
  7. use_mipmaps = true
  8. use_filter = true
  9. extra_spacing_top = -1
  10. font_data = ExtResource( 3 )
  11. [node name="ChannelCard" type="HBoxContainer"]
  12. margin_right = 168.0
  13. margin_bottom = 64.0
  14. rect_clip_content = true
  15. size_flags_horizontal = 3
  16. script = ExtResource( 2 )
  17. [node name="ChannelThumbnail" type="TextureRect" parent="."]
  18. margin_right = 64.0
  19. margin_bottom = 64.0
  20. texture = ExtResource( 1 )
  21. [node name="VBoxContainer" type="VBoxContainer" parent="."]
  22. margin_left = 68.0
  23. margin_right = 168.0
  24. margin_bottom = 64.0
  25. size_flags_horizontal = 3
  26. alignment = 1
  27. [node name="ChannelTitle" type="Label" parent="VBoxContainer"]
  28. margin_top = 16.0
  29. margin_right = 100.0
  30. margin_bottom = 30.0
  31. mouse_filter = 1
  32. text = "Text"
  33. valign = 1
  34. clip_text = true
  35. max_lines_visible = 1
  36. [node name="ChannelName" type="Label" parent="VBoxContainer"]
  37. modulate = Color( 1, 1, 1, 0.498039 )
  38. margin_top = 34.0
  39. margin_right = 100.0
  40. margin_bottom = 47.0
  41. mouse_filter = 1
  42. custom_fonts/font = SubResource( 1 )
  43. text = "Text"
  44. valign = 1
  45. clip_text = true
  46. max_lines_visible = 1