diff --git a/I18N Commander/App/theme/Test UI.tscn b/I18N Commander/App/theme/Test UI.tscn index 2e09fb9..715bc3e 100644 --- a/I18N Commander/App/theme/Test UI.tscn +++ b/I18N Commander/App/theme/Test UI.tscn @@ -81,6 +81,7 @@ layout_mode = 2 [node name="Tab1" type="TabBar" parent="VBoxContainer/MarginContainer2/TabContainer"] layout_mode = 2 +clip_tabs = false [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/MarginContainer2/TabContainer/Tab1"] layout_mode = 0 @@ -101,6 +102,7 @@ text = "Store" [node name="Tab2" type="TabBar" parent="VBoxContainer/MarginContainer2/TabContainer"] visible = false layout_mode = 2 +clip_tabs = false [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/MarginContainer2/TabContainer/Tab2"] layout_mode = 0 @@ -121,15 +123,19 @@ text = "Stop" [node name="TabBar" type="TabBar" parent="VBoxContainer/MarginContainer2/TabContainer"] visible = false layout_mode = 2 +clip_tabs = false [node name="TabBar2" type="TabBar" parent="VBoxContainer/MarginContainer2/TabContainer"] visible = false layout_mode = 2 +clip_tabs = false [node name="TabBar3" type="TabBar" parent="VBoxContainer/MarginContainer2/TabContainer"] visible = false layout_mode = 2 +clip_tabs = false [node name="TabBar4" type="TabBar" parent="VBoxContainer/MarginContainer2/TabContainer"] visible = false layout_mode = 2 +clip_tabs = false diff --git a/I18N Commander/App/theme/tabs/tab_hover_style_box_flat.tres b/I18N Commander/App/theme/tabs/tab_hover_style_box_flat.tres new file mode 100644 index 0000000..31b43a9 --- /dev/null +++ b/I18N Commander/App/theme/tabs/tab_hover_style_box_flat.tres @@ -0,0 +1,13 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://cv1sqjb5pjrov"] + +[resource] +content_margin_left = 48.0 +content_margin_top = 24.0 +content_margin_right = 48.0 +content_margin_bottom = 24.0 +bg_color = Color(0.39, 0.39, 0.39, 1) +border_width_left = 6 +border_width_top = 12 +border_width_right = 6 +border_width_bottom = 12 +border_color = Color(0.2, 0.2, 0.2, 1) diff --git a/I18N Commander/App/theme/ui_theme_dark.tres b/I18N Commander/App/theme/ui_theme_dark.tres index 91185db..91220d1 100644 --- a/I18N Commander/App/theme/ui_theme_dark.tres +++ b/I18N Commander/App/theme/ui_theme_dark.tres @@ -1,4 +1,4 @@ -[gd_resource type="Theme" load_steps=11 format=3 uid="uid://uqhultm05f5a"] +[gd_resource type="Theme" load_steps=12 format=3 uid="uid://uqhultm05f5a"] [ext_resource type="StyleBox" uid="uid://chaurklijlgu7" path="res://theme/btn/d_style_box_flat_focus.tres" id="1_uspte"] [ext_resource type="StyleBox" uid="uid://l1tjpnljc6c1" path="res://theme/btn/d_style_box_flat_hover.tres" id="2_pm5yo"] @@ -10,6 +10,7 @@ [ext_resource type="StyleBox" uid="uid://dp37edlumlbaj" path="res://theme/tabs/tab_selected_style_box_flat.tres" id="8_4hym3"] [ext_resource type="StyleBox" uid="uid://b8v8084ty86la" path="res://theme/tabs/tab_not_used_style_box_flat.tres" id="8_5xc56"] [ext_resource type="StyleBox" uid="uid://bumfybajbkybi" path="res://theme/tabs/background_style_box_flat.tres" id="8_l6mbx"] +[ext_resource type="StyleBox" uid="uid://cv1sqjb5pjrov" path="res://theme/tabs/tab_hover_style_box_flat.tres" id="9_5ci7o"] [resource] Button/constants/h_separation = 6 @@ -42,6 +43,8 @@ Panel/styles/panel = ExtResource("7_3s8mj") PopupMenu/font_sizes/font_separator_size = 32 PopupMenu/font_sizes/font_size = 32 TabContainer/font_sizes/font_size = 32 +TabContainer/styles/tab_focus = ExtResource("8_4hym3") +TabContainer/styles/tab_hovered = ExtResource("9_5ci7o") TabContainer/styles/tab_selected = ExtResource("8_4hym3") TabContainer/styles/tab_unselected = ExtResource("8_5xc56") TabContainer/styles/tabbar_background = ExtResource("8_l6mbx")