refactor to scene
This commit is contained in:
54
src/SharpIDE.Godot/Features/Nuget/NugetPackageDetails.tscn
Normal file
54
src/SharpIDE.Godot/Features/Nuget/NugetPackageDetails.tscn
Normal file
@@ -0,0 +1,54 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://odaefch2sdft"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b5ih61vdjv5e6" path="res://Features/LeftSideBar/Resources/Nuget.svg" id="1_jrdf0"]
|
||||
|
||||
[node name="NugetPackageDetails" type="VBoxContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_jrdf0")
|
||||
expand_mode = 3
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.83137256, 0.83137256, 0.83137256, 1)
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "OpenTelemetry.Exporter.OpenTelemetryProtocol"
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.83137256, 0.83137256, 0.83137256, 1)
|
||||
text = "Version"
|
||||
|
||||
[node name="VersionOptionButton" type="OptionButton" parent="HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
selected = 0
|
||||
item_count = 1
|
||||
popup/item_0/text = "1.13.0"
|
||||
popup/item_0/id = 0
|
||||
|
||||
[node name="NugetSourceOptionButton" type="OptionButton" parent="HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
selected = 0
|
||||
item_count = 1
|
||||
popup/item_0/text = "nuget"
|
||||
popup/item_0/id = 0
|
||||
|
||||
[node name="FoldableContainer" type="FoldableContainer" parent="."]
|
||||
layout_mode = 2
|
||||
folded = true
|
||||
title = "Info - OpenTelemetry protocol exporter for OpenTelemetry .NET"
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://du4v3dyf0y3d8" path="res://Features/Nuget/NugetPanel.cs" id="1_t4nyu"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqc2xlt81ju8s" path="res://Features/Nuget/PackageEntry.tscn" id="2_arg4f"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5ih61vdjv5e6" path="res://Features/LeftSideBar/Resources/Nuget.svg" id="3_yr6k7"]
|
||||
[ext_resource type="PackedScene" uid="uid://odaefch2sdft" path="res://Features/Nuget/NugetPackageDetails.tscn" id="3_yr6k7"]
|
||||
|
||||
[node name="NugetPanel" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -118,45 +118,6 @@ layout_mode = 2
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer/MarginContainer2/HSplitContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PackageDetailsVBoxContainer" type="VBoxContainer" parent="VBoxContainer/MarginContainer2/HSplitContainer/VBoxContainer2"]
|
||||
[node name="NugetPackageDetails" parent="VBoxContainer/MarginContainer2/HSplitContainer/VBoxContainer2" instance=ExtResource("3_yr6k7")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/MarginContainer2/HSplitContainer/VBoxContainer2/PackageDetailsVBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/MarginContainer2/HSplitContainer/VBoxContainer2/PackageDetailsVBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("3_yr6k7")
|
||||
expand_mode = 3
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer2/HSplitContainer/VBoxContainer2/PackageDetailsVBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.83137256, 0.83137256, 0.83137256, 1)
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "OpenTelemetry.Exporter.OpenTelemetryProtocol"
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/MarginContainer2/HSplitContainer/VBoxContainer2/PackageDetailsVBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer2/HSplitContainer/VBoxContainer2/PackageDetailsVBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.83137256, 0.83137256, 0.83137256, 1)
|
||||
text = "Version"
|
||||
|
||||
[node name="VersionOptionButton" type="OptionButton" parent="VBoxContainer/MarginContainer2/HSplitContainer/VBoxContainer2/PackageDetailsVBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
selected = 0
|
||||
item_count = 1
|
||||
popup/item_0/text = "1.13.0"
|
||||
popup/item_0/id = 0
|
||||
|
||||
[node name="NugetSourceOptionButton" type="OptionButton" parent="VBoxContainer/MarginContainer2/HSplitContainer/VBoxContainer2/PackageDetailsVBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
selected = 0
|
||||
item_count = 1
|
||||
popup/item_0/text = "nuget"
|
||||
popup/item_0/id = 0
|
||||
|
||||
Reference in New Issue
Block a user