fix tab icon

This commit is contained in:
Nordup 2024-11-29 22:05:22 +04:00
parent 2557eda424
commit d6add34302
19 changed files with 71 additions and 42 deletions

View file

@ -1,15 +1,11 @@
[gd_scene load_steps=9 format=3 uid="uid://dkfy3rcfbxqc6"]
[ext_resource type="StyleBox" uid="uid://cf4jgdfsjmjxl" path="res://assets/styles/tab.stylebox" id="1_8hbf0"]
[ext_resource type="Texture2D" uid="uid://bw1cffhlt112i" path="res://assets/textures/icon-round.svg" id="1_jc4ra"]
[ext_resource type="LabelSettings" uid="uid://bo2334w4lf3ug" path="res://assets/styles/text.tres" id="2_gll4d"]
[ext_resource type="Texture2D" uid="uid://cli88m5w3op6l" path="res://assets/textures/close-tab.svg" id="2_y6odh"]
[ext_resource type="Texture2D" uid="uid://db7adnvbsxena" path="res://assets/textures/icon_round_16.png" id="2_pitbs"]
[ext_resource type="Texture2D" uid="uid://cli88m5w3op6l" path="res://assets/textures/close_tab.svg" id="2_y6odh"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_33kce"]
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_rxuw8"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_lq3t8"]
@ -52,11 +48,10 @@ layout_mode = 2
theme_override_constants/separation = 7
[node name="Panel" type="Panel" parent="MarginContainer/HBoxContainer"]
clip_children = 1
custom_minimum_size = Vector2(19, 19)
custom_minimum_size = Vector2(16, 16)
layout_mode = 2
size_flags_vertical = 4
theme_override_styles/panel = SubResource("StyleBoxFlat_33kce")
theme_override_styles/panel = SubResource("StyleBoxEmpty_rxuw8")
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/Panel"]
texture_filter = 6
@ -67,9 +62,9 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 4
texture = ExtResource("1_jc4ra")
texture = ExtResource("2_pitbs")
expand_mode = 1
stretch_mode = 4
stretch_mode = 5
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer"]
layout_mode = 2