|
| 1 | +[gd_scene load_steps=5 format=2] |
| 2 | + |
| 3 | +[ext_resource path="res://addons/easy_charts/utilities/containers/data_tooltip/data_tooltip.gd" type="Script" id=1] |
| 4 | + |
| 5 | +[sub_resource type="StyleBoxFlat" id=1] |
| 6 | +content_margin_left = 10.0 |
| 7 | +content_margin_right = 10.0 |
| 8 | +content_margin_top = 8.0 |
| 9 | +content_margin_bottom = 8.0 |
| 10 | +bg_color = Color( 0.101961, 0.101961, 0.101961, 0.784314 ) |
| 11 | +border_color = Color( 1, 1, 1, 1 ) |
| 12 | +corner_radius_top_left = 8 |
| 13 | +corner_radius_top_right = 8 |
| 14 | +corner_radius_bottom_right = 8 |
| 15 | +corner_radius_bottom_left = 8 |
| 16 | +corner_detail = 20 |
| 17 | +anti_aliasing_size = 0.65 |
| 18 | + |
| 19 | +[sub_resource type="StyleBoxFlat" id=2] |
| 20 | +corner_radius_top_left = 5 |
| 21 | +corner_radius_top_right = 5 |
| 22 | +corner_radius_bottom_right = 5 |
| 23 | +corner_radius_bottom_left = 5 |
| 24 | +corner_detail = 20 |
| 25 | +anti_aliasing_size = 0.7 |
| 26 | + |
| 27 | +[sub_resource type="StyleBoxEmpty" id=3] |
| 28 | + |
| 29 | +[node name="DataTooltip" type="PanelContainer"] |
| 30 | +visible = false |
| 31 | +offset_right = 20.0 |
| 32 | +offset_bottom = 16.0 |
| 33 | +mouse_filter = 2 |
| 34 | +theme_override_styles/panel = SubResource( 1 ) |
| 35 | +script = ExtResource( 1 ) |
| 36 | + |
| 37 | +[node name="PointData" type="VBoxContainer" parent="."] |
| 38 | +offset_left = 10.0 |
| 39 | +offset_top = 8.0 |
| 40 | +offset_right = 37.0 |
| 41 | +offset_bottom = 42.0 |
| 42 | +grow_horizontal = 2 |
| 43 | +size_flags_horizontal = 3 |
| 44 | +theme_override_constants/separation = 1 |
| 45 | +alignment = 1 |
| 46 | +__meta__ = { |
| 47 | +"_edit_use_anchors_": false |
| 48 | +} |
| 49 | + |
| 50 | +[node name="x" type="Label" parent="PointData"] |
| 51 | +offset_top = 2.0 |
| 52 | +offset_bottom = 16.0 |
| 53 | +size_flags_horizontal = 0 |
| 54 | +theme_override_colors/font_color = Color( 1, 1, 1, 1 ) |
| 55 | +valign = 1 |
| 56 | + |
| 57 | +[node name="Value" type="HBoxContainer" parent="PointData"] |
| 58 | +offset_top = 17.0 |
| 59 | +offset_right = 27.0 |
| 60 | +offset_bottom = 31.0 |
| 61 | +grow_horizontal = 2 |
| 62 | +size_flags_horizontal = 7 |
| 63 | +theme_override_constants/separation = 1 |
| 64 | + |
| 65 | +[node name="Color" type="Panel" parent="PointData/Value"] |
| 66 | +offset_top = 2.0 |
| 67 | +offset_right = 10.0 |
| 68 | +offset_bottom = 12.0 |
| 69 | +custom_minimum_size = Vector2( 10, 10 ) |
| 70 | +size_flags_horizontal = 4 |
| 71 | +size_flags_vertical = 4 |
| 72 | +theme_override_styles/panel = SubResource( 2 ) |
| 73 | + |
| 74 | +[node name="VSeparator" type="VSeparator" parent="PointData/Value"] |
| 75 | +offset_left = 11.0 |
| 76 | +offset_right = 15.0 |
| 77 | +offset_bottom = 14.0 |
| 78 | +theme_override_constants/separation = 4 |
| 79 | +theme_override_styles/separator = SubResource( 3 ) |
| 80 | + |
| 81 | +[node name="Function" type="Label" parent="PointData/Value"] |
| 82 | +offset_left = 16.0 |
| 83 | +offset_right = 16.0 |
| 84 | +offset_bottom = 14.0 |
| 85 | +size_flags_horizontal = 0 |
| 86 | +size_flags_vertical = 5 |
| 87 | +valign = 1 |
| 88 | + |
| 89 | +[node name="sep" type="Label" parent="PointData/Value"] |
| 90 | +offset_left = 17.0 |
| 91 | +offset_right = 21.0 |
| 92 | +offset_bottom = 14.0 |
| 93 | +size_flags_horizontal = 0 |
| 94 | +size_flags_vertical = 5 |
| 95 | +text = ":" |
| 96 | +valign = 1 |
| 97 | + |
| 98 | +[node name="VSeparator2" type="VSeparator" parent="PointData/Value"] |
| 99 | +offset_left = 22.0 |
| 100 | +offset_right = 26.0 |
| 101 | +offset_bottom = 14.0 |
| 102 | +theme_override_constants/separation = 4 |
| 103 | +theme_override_styles/separator = SubResource( 3 ) |
| 104 | + |
| 105 | +[node name="y" type="Label" parent="PointData/Value"] |
| 106 | +offset_left = 27.0 |
| 107 | +offset_right = 27.0 |
| 108 | +offset_bottom = 14.0 |
| 109 | +size_flags_horizontal = 0 |
| 110 | +size_flags_vertical = 5 |
| 111 | +theme_override_colors/font_color = Color( 1, 1, 1, 1 ) |
| 112 | +valign = 1 |
| 113 | + |
| 114 | +[connection signal="visibility_changed" from="." to="." method="_on_DataTooltip_visibility_changed"] |
0 commit comments