add console panel, still have scroll problem

This commit is contained in:
2022-07-21 00:23:20 +08:00
parent 7cdcaf1e2f
commit 2040afa34a
22 changed files with 558 additions and 119 deletions

View File

@ -0,0 +1,14 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://resources/fonts/fontstyle_normal.tres" type="DynamicFont" id=1]
[ext_resource path="res://scripts/user_interface/LabelConsole.cs" type="Script" id=2]
[node name="LabelConsole" type="Control"]
script = ExtResource( 2 )
[node name="RealLabel" type="Label" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -12.0
custom_fonts/font = ExtResource( 1 )
autowrap = true

View File

@ -0,0 +1,13 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://resources/user_interface/styles/lineedit_borderless_style_select.tres" type="StyleBox" id=1]
[ext_resource path="res://resources/user_interface/styles/lineedit_borderless_style_deselect.tres" type="StyleBox" id=2]
[ext_resource path="res://resources/fonts/fontstyle_normal.tres" type="DynamicFont" id=3]
[node name="LineEditBorderless" type="LineEdit"]
margin_right = 58.0
margin_bottom = 24.0
custom_fonts/font = ExtResource( 3 )
custom_styles/read_only = ExtResource( 2 )
custom_styles/focus = ExtResource( 1 )
custom_styles/normal = ExtResource( 2 )