remove button icon

This commit is contained in:
Matt Parker
2025-11-03 21:40:21 +10:00
parent 3cf214c135
commit d65a50bb28
3 changed files with 127 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
[gd_scene load_steps=3 format=3 uid="uid://5uan5u23cr2s"]
[gd_scene load_steps=4 format=3 uid="uid://5uan5u23cr2s"]
[ext_resource type="Texture2D" uid="uid://cqt30ma6xgder" path="res://Features/SolutionExplorer/Resources/Csproj.svg" id="1_dmxym"]
[ext_resource type="Script" uid="uid://bhgqjh7sfenxm" path="res://Features/Nuget/PackageDetailsProjectEntry.cs" id="1_kwjfp"]
[ext_resource type="Texture2D" uid="uid://bvokbt0ofw201" path="res://Features/Nuget/Resources/remove-icon.svg" id="3_pnq3l"]
[node name="PackageDetailsProjectEntry" type="MarginContainer"]
anchors_preset = 14
@@ -64,9 +65,10 @@ text = "Downgrade"
[node name="RemoveButton" type="Button" parent="HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "Remove"
theme_override_constants/icon_max_width = 23
icon = ExtResource("3_pnq3l")
[node name="AddButton" type="Button" parent="HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "Add"
text = " + "

View File

@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg
height="800px"
width="800px"
version="1.1"
id="Capa_1"
viewBox="0 0 525.325 525.325"
xml:space="preserve"
sodipodi:docname="remove-icon.svg"
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs1" /><sodipodi:namedview
id="namedview1"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
inkscape:zoom="0.3646875"
inkscape:cx="-216.62382"
inkscape:cy="856.89804"
inkscape:window-width="2560"
inkscape:window-height="1369"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="g1" />
<g
id="g1"
transform="matrix(1.0007541,0,0,0.96334492,-0.19807395,9.6729914)">
<rect
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="rect1"
width="402.13083"
height="68.689873"
x="61.597084"
y="110.27444"
ry="0.068331443" /><path
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 157.40679,482.22778 H 367.91822"
id="path1" /><path
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 407.72647,436.20089 V 178.96431"
id="path3"
sodipodi:nodetypes="cc" /><path
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 367.91822,482.22778 c 0,0 39.80825,2.33639 39.80825,-46.02689"
id="path4" /><path
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 157.40679,482.22778 c 0,0 -39.80825,2.33639 -39.80825,-46.02689"
id="path4-8" /><path
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 117.59854,436.20089 V 178.96431"
id="path5"
sodipodi:nodetypes="cc" /><path
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 223.07915,42.986391 h 79.1667"
id="path6" /><path
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 223.07915,42.986391 c 0,0 -46.5554,-1.401824 -46.5554,67.288049"
id="path7" /><path
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 302.24585,42.986391 c 0,0 46.5554,-1.401824 46.5554,67.288049"
id="path7-5" /><path
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 210.03109,226.23139 V 439.01896"
id="path8" /><path
style="fill:none;stroke:#9a9a9a;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 315.29392,226.23139 V 439.01896"
id="path8-1" /></g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bvokbt0ofw201"
path="res://.godot/imported/remove-icon.svg-55c6d87eb22aecfce0da3f9aa2567477.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Features/Nuget/Resources/remove-icon.svg"
dest_files=["res://.godot/imported/remove-icon.svg-55c6d87eb22aecfce0da3f9aa2567477.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=0.1
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false