refactor code editor tab container style
This commit is contained in:
@@ -3,10 +3,6 @@
|
||||
[ext_resource type="Script" uid="uid://cy7erscaagrtj" path="res://Features/CodeEditor/CodeEditorPanel.cs" id="1_eraxv"]
|
||||
[ext_resource type="PackedScene" uid="uid://cinaqbdghcvoi" path="res://Features/CodeEditor/SharpIdeCodeEdit.tscn" id="1_y4okr"]
|
||||
[ext_resource type="Texture2D" uid="uid://do0edciarrnp0" path="res://Features/SolutionExplorer/Resources/CsharpFile.svg" id="2_dbtmr"]
|
||||
[ext_resource type="StyleBox" uid="uid://bun830pn1vfxw" path="res://Features/CodeEditor/Resources/TabBarTabStyle.tres" id="2_m4iuw"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_m4iuw"]
|
||||
bg_color = Color(0.11764706, 0.11764706, 0.11764706, 1)
|
||||
|
||||
[node name="CodeEditorPanel" type="MarginContainer" unique_id=154728753]
|
||||
anchors_preset = 15
|
||||
@@ -19,11 +15,10 @@ CsFileTexture = ExtResource("2_dbtmr")
|
||||
|
||||
[node name="TabContainer" type="TabContainer" parent="." unique_id=2126230228]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"CodeEditorTabContainer"
|
||||
theme_override_constants/side_margin = 0
|
||||
theme_override_constants/icon_max_width = 22
|
||||
theme_override_font_sizes/font_size = 15
|
||||
theme_override_styles/tabbar_background = SubResource("StyleBoxFlat_m4iuw")
|
||||
theme_override_styles/tab_selected = ExtResource("2_m4iuw")
|
||||
current_tab = 0
|
||||
drag_to_rearrange_enabled = true
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
[gd_resource type="StyleBoxFlat" format=3 uid="uid://bun830pn1vfxw"]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 10.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 10.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.1, 0.1, 0.1, 0.6)
|
||||
border_width_bottom = 2
|
||||
border_color = Color(1, 1, 1, 0.75)
|
||||
corner_detail = 1
|
||||
@@ -1,5 +1,18 @@
|
||||
[gd_resource type="Theme" format=3 uid="uid://epmt8kq6efrs"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_21uq4"]
|
||||
content_margin_left = 10.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 10.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.1, 0.1, 0.1, 0.6)
|
||||
border_width_bottom = 2
|
||||
border_color = Color(1, 1, 1, 0.75)
|
||||
corner_detail = 1
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5oigc"]
|
||||
bg_color = Color(0.11764706, 0.11764706, 0.11764706, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3gh6f"]
|
||||
content_margin_left = 0.0
|
||||
content_margin_top = 0.0
|
||||
@@ -35,6 +48,9 @@ shadow_size = 4
|
||||
|
||||
[resource]
|
||||
CodeEdit/colors/current_line_color = Color(0.05882353, 0.05882353, 0.05882353, 1)
|
||||
CodeEditorTabContainer/base_type = &"TabContainer"
|
||||
CodeEditorTabContainer/styles/tab_selected = SubResource("StyleBoxFlat_21uq4")
|
||||
CodeEditorTabContainer/styles/tabbar_background = SubResource("StyleBoxFlat_5oigc")
|
||||
Gray500Label/base_type = &"Label"
|
||||
Gray500Label/colors/font_color = Color(0.5137255, 0.5137255, 0.5137255, 1)
|
||||
Gray600Label/base_type = &"Label"
|
||||
|
||||
Reference in New Issue
Block a user